├── pyv8env ├── __init__.py └── env │ ├── impl │ ├── event │ │ ├── focus_event.py │ │ ├── input_event.py │ │ ├── message_event.py │ │ ├── progress_event.py │ │ ├── device_motion_event.py │ │ ├── audio_processing_event.py │ │ ├── media_key_message_event.py │ │ ├── before_unload_event.py │ │ ├── rtc_peer_connection_ice_event.py │ │ ├── offline_audio_completion_event.py │ │ ├── custom_event.py │ │ ├── device_motion_event_acceleration.py │ │ ├── device_motion_event_rotation_rate.py │ │ ├── idb_version_change_event.py │ │ ├── device_orientation_event.py │ │ └── touch_event.py │ └── window_properties.py │ └── chrome │ ├── v8_ads.py │ ├── v8_ml_graph.py │ ├── v8_locked_mode.py │ ├── v8_webgl_object.py │ ├── v8_canvas_filter.py │ ├── v8_ext_float_blend.py │ ├── v8_ext_frag_depth.py │ ├── v8_ml_activation.py │ ├── v8_periodic_wave.py │ ├── v8_ext_render_snorm.py │ ├── v8_mesh_2d_uv_buffer.py │ ├── v8_oes_texture_float.py │ ├── v8_rtc_rtp_transport.py │ ├── v8_media_source_handle.py │ ├── v8_mesh_2d_index_buffer.py │ ├── v8_mesh_2d_vertex_buffer.py │ ├── v8_oes_fbo_render_mipmap.py │ ├── v8_oes_sample_variables.py │ ├── v8_worklet_global_scope.py │ ├── v8_ext_color_buffer_float.py │ ├── v8_ext_conservative_depth.py │ ├── v8_ext_shader_texture_lod.py │ ├── v8_oes_element_index_uint.py │ ├── v8_webgl_uniform_location.py │ ├── v8_oes_texture_float_linear.py │ ├── v8_shadow_realm_global_scope.py │ ├── v8_death_aware_script_wrappable.py │ ├── v8_oes_texture_half_float_linear.py │ ├── v8_script_wrappable_task_state.py │ ├── v8_webgl_render_shared_exponent.py │ ├── v8_gpu_map_mode.py │ ├── v8_ext_depth_clamp.py │ ├── v8_nv_shader_noperspective_interpolation.py │ ├── v8_oes_texture_half_float.py │ ├── v8_webgl_depth_texture.py │ ├── v8_ext_blend_min_max.py │ ├── v8_cdata_section.py │ ├── v8_gpu_shader_stage.py │ ├── v8_khr_parallel_shader_compile.py │ ├── v8_audio_worklet.py │ ├── v8_oes_standard_derivatives.py │ ├── v8_webgl_compressed_texture_etc1.py │ ├── v8_xr_layer.py │ ├── v8_xr_space.py │ ├── v8_comment.py │ ├── v8_ext_texture_mirror_clamp_to_edge.py │ ├── v8_webgl_query.py │ ├── v8_webgl_sync.py │ ├── v8_webgl_buffer.py │ ├── v8_webgl_shader.py │ ├── v8_gpu_internal_error.py │ ├── v8_static_range.py │ ├── v8_svg_desc_element.py │ ├── v8_webgl_program.py │ ├── v8_webgl_sampler.py │ ├── v8_webgl_texture.py │ ├── v8_gpu_color_write.py │ ├── v8_gravity_sensor.py │ ├── v8_svg_title_element.py │ ├── v8_channel_merger_node.py │ ├── v8_css_image_value.py │ ├── v8_gpu_validation_error.py │ ├── v8_html_head_element.py │ ├── v8_html_span_element.py │ ├── v8_webgl_framebuffer.py │ ├── v8_channel_splitter_node.py │ ├── v8_contact_address.py │ ├── v8_gpu_out_of_memory_error.py │ ├── v8_html_picture_element.py │ ├── v8_html_unknown_element.py │ ├── v8_svg_metadata_element.py │ ├── v8_webgl_debug_renderer_info.py │ ├── v8_webgl_renderbuffer.py │ ├── v8_svg_g_element.py │ ├── v8_webgl_stencil_texturing.py │ ├── v8_webgl_timer_query_ext.py │ ├── v8_css_supports_rule.py │ ├── v8_html_audio_element.py │ ├── v8_svg_defs_element.py │ ├── v8_svg_path_element.py │ ├── v8_svg_set_element.py │ ├── v8_document_timeline.py │ ├── v8_webgl_transform_feedback.py │ ├── v8_webgl_vertex_array_object.py │ ├── v8_css_starting_style_rule.py │ ├── v8_ext_texture_filter_anisotropic.py │ ├── v8_soft_navigation_entry.py │ ├── v8_svg_switch_element.py │ ├── v8_svg_unit_types.py │ ├── v8_linear_acceleration_sensor.py │ ├── v8_svg_animate_element.py │ ├── v8_visibility_state_entry.py │ ├── v8_webgl_vertex_array_object_oes.py │ ├── v8_performance_paint_timing.py │ ├── v8_gpu_heap_property.py │ ├── v8_svg_text_element.py │ ├── v8_svg_tspan_element.py │ ├── v8_window_properties.py │ ├── v8_absolute_orientation_sensor.py │ ├── v8_ext_srgb.py │ ├── v8_gpu_texture_usage.py │ ├── v8_relative_orientation_sensor.py │ ├── v8_svg_animate_motion_element.py │ ├── v8_webgl_color_buffer_float.py │ ├── v8_svg_animate_transform_element.py │ ├── v8_xml_http_request_upload.py │ ├── v8_svg_fe_func_a_element.py │ ├── v8_svg_fe_func_b_element.py │ ├── v8_svg_fe_func_g_element.py │ ├── v8_svg_fe_func_r_element.py │ ├── v8_ext_color_buffer_half_float.py │ ├── v8_oes_shader_multisample_interpolation.py │ ├── v8_webgl_compressed_texture_s3tc.py │ ├── v8_ext_texture_compression_rgtc.py │ ├── v8_gpu_buffer_usage.py │ ├── v8_webgl_blend_func_extended.py │ ├── v8_webgl_compressed_texture_pvrtc.py │ ├── v8_ext_texture_compression_bptc.py │ ├── v8_ext_texture_norm_16.py │ ├── v8_webgl_compressed_texture_s3tc_srgb.py │ ├── v8_eye_dropper.py │ ├── v8_ml.py │ ├── v8_wake_lock.py │ ├── v8_worklet.py │ ├── v8_mojo_watcher.py │ ├── v8_report_body.py │ ├── v8_face_detector.py │ ├── v8_ml_model_loader.py │ ├── v8_text_detector.py │ ├── v8_ink.py │ ├── v8_launch_queue.py │ ├── v8_xr_hit_test_source.py │ ├── v8_navigator_login.py │ ├── v8_xpath_expression.py │ ├── v8_dom_parser.py │ ├── v8_formatted_text.py │ ├── v8_inspector_overlay_host.py │ ├── v8_scheduling.py │ ├── v8_sql_transaction.py │ ├── v8_sync_iterator_headers.py │ ├── v8_sync_iterator_xr_hand.py │ ├── v8_canvas_pattern.py │ ├── v8_sync_iterator_form_data.py │ ├── v8_canvas_gradient.py │ ├── v8_crop_target.py │ ├── v8_directory_reader.py │ ├── v8_language_translator.py │ ├── v8_sync_iterator_highlight.py │ ├── v8_sync_iterator_xr_plane_set.py │ ├── v8_sync_iterator_event_counts.py │ ├── v8_sync_iterator_font_face_set.py │ ├── v8_sync_iterator_xr_anchor_set.py │ ├── v8_web_printing_manager.py │ ├── v8_worklet_group_effect.py │ ├── v8_cookie_deprecation_label.py │ ├── v8_directory_reader_sync.py │ ├── v8_internals_ukm_recorder.py │ ├── v8_sync_iterator_midi_input_map.py │ ├── v8_xml_serializer.py │ ├── v8_async_iterator_shared_storage.py │ ├── v8_sync_iterator_audio_param_map.py │ ├── v8_sync_iterator_custom_state_set.py │ ├── v8_sync_iterator_midi_output_map.py │ ├── v8_sync_iterator_rtc_stats_report.py │ ├── v8_midi_output.py │ ├── v8_restriction_target.py │ ├── v8_sync_iterator_url_search_params.py │ ├── v8_sync_iterator_highlight_registry.py │ ├── v8_webgl_clip_cull_distance.py │ ├── v8_sync_iterator_keyboard_layout_map.py │ ├── v8_sync_iterator_media_key_status_map.py │ ├── v8_node_filter.py │ ├── v8_protected_audience.py │ ├── v8_webgl_compressed_texture_etc.py │ ├── v8_xr_transient_input_hit_test_source.py │ ├── v8_sync_iterator_gpu_supported_features.py │ ├── v8_sync_iterator_wgsl_language_features.py │ ├── v8_sync_iterator_view_transition_type_set.py │ ├── v8_garbage_collected_script_wrappable.py │ ├── v8_smart_card_resource_manager.py │ ├── v8_sync_iterator_bluetooth_service_data_map.py │ ├── v8_sync_iterator_css_font_feature_values_map.py │ ├── v8_sync_iterator_style_property_map_read_only.py │ ├── v8_webgl_debug_shaders.py │ ├── v8_async_iterator_file_system_directory_handle.py │ ├── v8_bar_prop.py │ ├── v8_sync_iterator_bluetooth_manufacturer_data_map.py │ ├── v8_gpu_error.py │ ├── v8_audio_sink_info.py │ ├── v8_task_controller.py │ ├── v8_ndef_message.py │ ├── v8_xr_sub_image.py │ ├── v8_ext_polygon_offset_clamp.py │ ├── v8_iir_filter_node.py │ ├── v8_selector_directive.py │ ├── v8_xr_dom_overlay_state.py │ ├── v8_input_device_info.py │ ├── v8_audio_worklet_processor.py │ ├── v8_device_properties.py │ ├── v8_fetch_later_result.py │ ├── v8_gc_observation.py │ ├── v8_node_part.py │ ├── v8_timestamp_trigger.py │ ├── v8_gpu_compilation_info.py │ ├── v8_gain_node.py │ ├── v8_webgl_polygon_mode.py │ ├── v8_ml_operand.py │ ├── v8_lock_manager.py │ ├── v8_media_stream_track_processor.py │ ├── v8_svg_number.py │ ├── v8_xr_joint_pose.py │ ├── v8_xr_viewer_pose.py │ ├── v8_color_page_popup_controller.py │ ├── v8_gpu_sampler.py │ ├── v8_layout_worklet_global_scope.py │ ├── v8_presentation_receiver.py │ ├── v8_authenticator_response.py │ ├── v8_delay_node.py │ ├── v8_otp_credential.py │ ├── v8_css_math_max.py │ ├── v8_css_math_min.py │ ├── v8_css_math_sum.py │ ├── v8_gpu_bind_group.py │ ├── v8_sync_manager.py │ ├── v8_css_font_face_rule.py │ ├── v8_stereo_panner_node.py │ ├── v8_svg_mpath_element.py │ ├── v8_usb_isochronous_out_transfer_result.py │ ├── v8_xr_joint_space.py │ ├── v8_animation_worklet_global_scope.py │ ├── v8_css_math_invert.py │ ├── v8_css_math_negate.py │ ├── v8_gpu_texture_view.py │ ├── v8_screen_capture_media_stream_track.py │ ├── v8_svg_stop_element.py │ ├── v8_webgl_provoking_vertex.py │ ├── v8_gpu_command_buffer.py │ ├── v8_gpu_render_bundle.py │ ├── v8_input_device_capabilities.py │ ├── v8_css_math_product.py │ ├── v8_gpu_pipeline_layout.py │ ├── v8_css_math_value.py │ ├── v8_ext_disjoint_timer_query_webgl2.py │ ├── v8_gpu_bind_group_layout.py │ ├── v8_gpu_pipeline_error.py │ ├── v8_idb_cursor_with_value.py │ ├── v8_css_animation.py │ ├── v8_dom_error.py │ ├── v8_performance_mark.py │ ├── v8_css_layer_block_rule.py │ ├── v8_ext_clip_control.py │ ├── v8_svg_fe_merge_node_element.py │ ├── v8_contacts_manager.py │ ├── v8_ambient_light_sensor.py │ ├── v8_html_data_list_element.py │ ├── v8_performance_measure.py │ ├── v8_smart_card_error.py │ ├── v8_xr_hit_test_result.py │ ├── v8_css_layer_statement_rule.py │ ├── v8_translation.py │ ├── v8_file_entry.py │ ├── v8_css_transition.py │ ├── v8_overconstrained_error.py │ ├── v8_css_condition_rule.py │ ├── v8_handwriting_recognizer.py │ ├── v8_media_capabilities.py │ ├── v8_webgl_lose_context.py │ ├── v8_constant_source_node.py │ ├── v8_css_skew_x.py │ ├── v8_css_skew_y.py │ ├── v8_async_iterator_readable_stream.py │ ├── v8_audio_destination_node.py │ ├── v8_barcode_detector.py │ ├── v8_external.py │ ├── v8_html_br_element.py │ ├── v8_xr_webgl_depth_information.py │ ├── v8_html_div_element.py │ ├── v8_html_pre_element.py │ ├── v8_media_stream_audio_destination_node.py │ ├── v8_media_stream_audio_source_node.py │ ├── v8_media_stream_track_generator.py │ ├── v8_xml_document.py │ ├── v8_css_media_rule.py │ ├── v8_file_entry_sync.py │ └── v8_html_data_element.py ├── .gitignore ├── README.md └── test.py /pyv8env/__init__.py: -------------------------------------------------------------------------------- 1 | from pyv8 import * 2 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/focus_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_focus_event import FocusEvent as V8FocusEvent 3 | 4 | 5 | @impl_warp 6 | class FocusEvent(V8FocusEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/input_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_input_event import InputEvent as V8InputEvent 3 | 4 | 5 | @impl_warp 6 | class InputEvent(V8InputEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/message_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_message_event import MessageEvent as V8MessageEvent 3 | 4 | 5 | @impl_warp 6 | class MessageEvent(V8MessageEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | *.pyc 3 | pyv8env.so 4 | pyv8env.egg-info 5 | pyv8env_ex.egg-info 6 | build 7 | dist 8 | .eggs 9 | 10 | js_cache/ 11 | *.html 12 | src.js 13 | 14 | # tox相关 15 | .tox/ 16 | .coverage 17 | htmlcov/ 18 | .pytest_cache/ -------------------------------------------------------------------------------- /pyv8env/env/impl/event/progress_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_progress_event import ProgressEvent as V8ProgressEvent 3 | 4 | 5 | @impl_warp 6 | class ProgressEvent(V8ProgressEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ads.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class Ads: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/device_motion_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_device_motion_event import DeviceMotionEvent as V8DeviceMotionEvent 3 | 4 | 5 | @impl_warp 6 | class DeviceMotionEvent(V8DeviceMotionEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ml_graph.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MLGraph: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_locked_mode.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class LockedMode: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_object.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class WebGLObject: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/audio_processing_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_audio_processing_event import AudioProcessingEvent as V8AudioProcessingEvent 3 | 4 | 5 | @impl_warp 6 | class AudioProcessingEvent(V8AudioProcessingEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_canvas_filter.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class CanvasFilter: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_float_blend.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTFloatBlend: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_frag_depth.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTFragDepth: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ml_activation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MLActivation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_periodic_wave.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class PeriodicWave: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/media_key_message_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_media_key_message_event import MediaKeyMessageEvent as V8MediaKeyMessageEvent 3 | 4 | 5 | @impl_warp 6 | class MediaKeyMessageEvent(V8MediaKeyMessageEvent): 7 | pass 8 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_render_snorm.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTRenderSnorm: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_mesh_2d_uv_buffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Mesh2DUVBuffer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_texture_float.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESTextureFloat: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_rtc_rtp_transport.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class RTCRtpTransport: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_source_handle.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MediaSourceHandle: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_mesh_2d_index_buffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Mesh2DIndexBuffer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_mesh_2d_vertex_buffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Mesh2DVertexBuffer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_fbo_render_mipmap.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESFboRenderMipmap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_sample_variables.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESSampleVariables: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_worklet_global_scope.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100021 5 | class WorkletGlobalScope: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_color_buffer_float.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTColorBufferFloat: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_conservative_depth.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTConservativeDepth: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_shader_texture_lod.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTShaderTextureLOD: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_element_index_uint.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESElementIndexUint: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_uniform_location.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class WebGLUniformLocation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_texture_float_linear.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESTextureFloatLinear: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_shadow_realm_global_scope.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000031 5 | class ShadowRealmGlobalScope: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_death_aware_script_wrappable.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class DeathAwareScriptWrappable: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_texture_half_float_linear.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESTextureHalfFloatLinear: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_script_wrappable_task_state.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class ScriptWrappableTaskState: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_render_shared_exponent.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLRenderSharedExponent: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_map_mode.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUMapMode: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | READ = 1 12 | WRITE = 2 13 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_depth_clamp.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTDepthClamp: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | DEPTH_CLAMP_EXT = 34383 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 纯python补环境框架 2 | 3 | #### 系统要求 4 | 5 | - Python 3.10 或更高版本 6 | - 支持的平台:Windows, Linux 7 | 8 | #### 依赖 9 | `pip install git+https://github.com/ConlinH/pyv8` 10 | 11 | #### 测试运行 12 | 13 | ```bash 14 | git clone https://github.com/ConlinH/pyv8env.git 15 | 16 | cd pyv8env 17 | 18 | python test.py 19 | ``` 20 | 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_nv_shader_noperspective_interpolation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class NVShaderNoperspectiveInterpolation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_texture_half_float.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESTextureHalfFloat: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | HALF_FLOAT_OES = 36193 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_depth_texture.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLDepthTexture: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | UNSIGNED_INT_24_8_WEBGL = 34042 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_blend_min_max.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTBlendMinMax: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | MIN_EXT = 32775 12 | MAX_EXT = 32776 13 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_cdata_section.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_text import Text 3 | 4 | 5 | @construct_100001 6 | class CDATASection(Text): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CDATASection, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_shader_stage.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUShaderStage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | VERTEX = 1 12 | FRAGMENT = 2 13 | COMPUTE = 4 14 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_khr_parallel_shader_compile.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class KHRParallelShaderCompile: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPLETION_STATUS_KHR = 37297 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_audio_worklet.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_worklet import Worklet 3 | 4 | 5 | @construct_100001 6 | class AudioWorklet(Worklet): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(AudioWorklet, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_standard_derivatives.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESStandardDerivatives: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 35723 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_compressed_texture_etc1.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLCompressedTextureETC1: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_RGB_ETC1_WEBGL = 36196 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_layer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_event_target import EventTarget 3 | 4 | 5 | @construct_100001 6 | class XRLayer(EventTarget): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRLayer, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_space.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_event_target import EventTarget 3 | 4 | 5 | @construct_100001 6 | class XRSpace(EventTarget): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRSpace, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_comment.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_character_data import CharacterData 3 | 4 | 5 | @construct_110001 6 | class Comment(CharacterData): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(Comment, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_texture_mirror_clamp_to_edge.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTTextureMirrorClampToEdge: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | MIRROR_CLAMP_TO_EDGE_EXT = 34627 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_query.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLQuery(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLQuery, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_sync.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLSync(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLSync, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_buffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLBuffer(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLBuffer, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_shader.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLShader(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLShader, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_internal_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_gpu_error import GPUError 3 | 4 | 5 | @construct_111001 6 | class GPUInternalError(GPUError): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GPUInternalError, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_static_range.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_abstract_range import AbstractRange 3 | 4 | 5 | @construct_111001 6 | class StaticRange(AbstractRange): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(StaticRange, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_desc_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGDescElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGDescElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_program.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLProgram(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLProgram, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_sampler.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLSampler(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLSampler, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_texture.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLTexture(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLTexture, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_color_write.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUColorWrite: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | RED = 1 12 | GREEN = 2 13 | BLUE = 4 14 | ALPHA = 8 15 | ALL = 15 16 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gravity_sensor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_accelerometer import Accelerometer 3 | 4 | 5 | @construct_110001 6 | class GravitySensor(Accelerometer): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GravitySensor, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_title_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGTitleElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGTitleElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_channel_merger_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class ChannelMergerNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ChannelMergerNode, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_image_value.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_style_value import CSSStyleValue 3 | 4 | 5 | @construct_100001 6 | class CSSImageValue(CSSStyleValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSImageValue, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_validation_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_gpu_error import GPUError 3 | 4 | 5 | @construct_111001 6 | class GPUValidationError(GPUError): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GPUValidationError, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_head_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLHeadElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLHeadElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_span_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLSpanElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLSpanElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_framebuffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLFramebuffer(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLFramebuffer, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_channel_splitter_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class ChannelSplitterNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ChannelSplitterNode, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_contact_address.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_payment_address import PaymentAddress 3 | 4 | 5 | @construct_100001 6 | class ContactAddress(PaymentAddress): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ContactAddress, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_out_of_memory_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_gpu_error import GPUError 3 | 4 | 5 | @construct_111001 6 | class GPUOutOfMemoryError(GPUError): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GPUOutOfMemoryError, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_picture_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLPictureElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLPictureElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_unknown_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_100001 6 | class HTMLUnknownElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLUnknownElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_metadata_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGMetadataElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGMetadataElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_debug_renderer_info.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLDebugRendererInfo: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | UNMASKED_VENDOR_WEBGL = 37445 12 | UNMASKED_RENDERER_WEBGL = 37446 13 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_renderbuffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLRenderbuffer(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLRenderbuffer, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_g_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_graphics_element import SVGGraphicsElement 3 | 4 | 5 | @construct_100001 6 | class SVGGElement(SVGGraphicsElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGGElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_stencil_texturing.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLStencilTexturing: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | DEPTH_STENCIL_TEXTURE_MODE_WEBGL = 37098 12 | STENCIL_INDEX_WEBGL = 6401 13 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_timer_query_ext.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_000000 6 | class WebGLTimerQueryEXT(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLTimerQueryEXT, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_supports_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_condition_rule import CSSConditionRule 3 | 4 | 5 | @construct_100001 6 | class CSSSupportsRule(CSSConditionRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSSupportsRule, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_audio_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_media_element import HTMLMediaElement 3 | 4 | 5 | @construct_110001 6 | class HTMLAudioElement(HTMLMediaElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLAudioElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_defs_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_graphics_element import SVGGraphicsElement 3 | 4 | 5 | @construct_100001 6 | class SVGDefsElement(SVGGraphicsElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGDefsElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_path_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_geometry_element import SVGGeometryElement 3 | 4 | 5 | @construct_100001 6 | class SVGPathElement(SVGGeometryElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGPathElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_set_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_animation_element import SVGAnimationElement 3 | 4 | 5 | @construct_100001 6 | class SVGSetElement(SVGAnimationElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGSetElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_document_timeline.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_animation_timeline import AnimationTimeline 3 | 4 | 5 | @construct_110001 6 | class DocumentTimeline(AnimationTimeline): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(DocumentTimeline, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_transform_feedback.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLTransformFeedback(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLTransformFeedback, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_vertex_array_object.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_100001 6 | class WebGLVertexArrayObject(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLVertexArrayObject, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_starting_style_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_grouping_rule import CSSGroupingRule 3 | 4 | 5 | @construct_100001 6 | class CSSStartingStyleRule(CSSGroupingRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSStartingStyleRule, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_texture_filter_anisotropic.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTTextureFilterAnisotropic: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | TEXTURE_MAX_ANISOTROPY_EXT = 34046 12 | MAX_TEXTURE_MAX_ANISOTROPY_EXT = 34047 13 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_soft_navigation_entry.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_performance_entry import PerformanceEntry 3 | 4 | 5 | @construct_100001 6 | class SoftNavigationEntry(PerformanceEntry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SoftNavigationEntry, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_switch_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_graphics_element import SVGGraphicsElement 3 | 4 | 5 | @construct_100001 6 | class SVGSwitchElement(SVGGraphicsElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGSwitchElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_unit_types.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class SVGUnitTypes: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | SVG_UNIT_TYPE_UNKNOWN = 0 12 | SVG_UNIT_TYPE_USERSPACEONUSE = 1 13 | SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2 14 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_linear_acceleration_sensor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_accelerometer import Accelerometer 3 | 4 | 5 | @construct_110001 6 | class LinearAccelerationSensor(Accelerometer): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(LinearAccelerationSensor, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_animate_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_animation_element import SVGAnimationElement 3 | 4 | 5 | @construct_100001 6 | class SVGAnimateElement(SVGAnimationElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGAnimateElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_visibility_state_entry.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_performance_entry import PerformanceEntry 3 | 4 | 5 | @construct_100001 6 | class VisibilityStateEntry(PerformanceEntry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(VisibilityStateEntry, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_vertex_array_object_oes.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_webgl_object import WebGLObject 3 | 4 | 5 | @construct_000000 6 | class WebGLVertexArrayObjectOES(WebGLObject): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(WebGLVertexArrayObjectOES, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_performance_paint_timing.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_performance_entry import PerformanceEntry 3 | 4 | 5 | @construct_100001 6 | class PerformancePaintTiming(PerformanceEntry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(PerformancePaintTiming, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_heap_property.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUHeapProperty: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | DEVICE_LOCAL = 1 12 | HOST_VISIBLE = 2 13 | HOST_COHERENT = 4 14 | HOST_UNCACHED = 8 15 | HOST_CACHED = 16 16 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_text_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_text_positioning_element import SVGTextPositioningElement 3 | 4 | 5 | @construct_100001 6 | class SVGTextElement(SVGTextPositioningElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGTextElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_tspan_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_text_positioning_element import SVGTextPositioningElement 3 | 4 | 5 | @construct_100001 6 | class SVGTSpanElement(SVGTextPositioningElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGTSpanElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_window_properties.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_event_target import EventTarget 3 | 4 | 5 | @construct_000020 6 | class WindowProperties(EventTarget): 7 | __v8_skip_inherit__ = True 8 | 9 | def __str__(self): 10 | return f'[object {self.__class__.__name__}]' 11 | 12 | def __init__(self, *args, **kw): 13 | super(WindowProperties, self).__init__(*args, **kw) 14 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/before_unload_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_before_unload_event import BeforeUnloadEvent as V8BeforeUnloadEvent 3 | 4 | 5 | @impl_warp 6 | class BeforeUnloadEvent(V8BeforeUnloadEvent): 7 | def __init__(self, *args, **kw): 8 | kw.setdefault("returnValue", "") 9 | super(BeforeUnloadEvent, self).__init__(*args, **kw) 10 | 11 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_absolute_orientation_sensor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_orientation_sensor import OrientationSensor 3 | 4 | 5 | @construct_110001 6 | class AbsoluteOrientationSensor(OrientationSensor): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(AbsoluteOrientationSensor, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_srgb.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTsRGB: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | SRGB_EXT = 35904 12 | SRGB_ALPHA_EXT = 35906 13 | SRGB8_ALPHA8_EXT = 35907 14 | FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = 33296 15 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_texture_usage.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUTextureUsage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COPY_SRC = 1 12 | COPY_DST = 2 13 | TEXTURE_BINDING = 4 14 | STORAGE_BINDING = 8 15 | RENDER_ATTACHMENT = 16 16 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_relative_orientation_sensor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_orientation_sensor import OrientationSensor 3 | 4 | 5 | @construct_110001 6 | class RelativeOrientationSensor(OrientationSensor): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(RelativeOrientationSensor, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_animate_motion_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_animation_element import SVGAnimationElement 3 | 4 | 5 | @construct_100001 6 | class SVGAnimateMotionElement(SVGAnimationElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGAnimateMotionElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_color_buffer_float.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLColorBufferFloat: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | RGBA32F_EXT = 34836 12 | FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 33297 13 | UNSIGNED_NORMALIZED_EXT = 35863 14 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_animate_transform_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_animation_element import SVGAnimationElement 3 | 4 | 5 | @construct_100001 6 | class SVGAnimateTransformElement(SVGAnimationElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGAnimateTransformElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xml_http_request_upload.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_xml_http_request_event_target import XMLHttpRequestEventTarget 3 | 4 | 5 | @construct_100001 6 | class XMLHttpRequestUpload(XMLHttpRequestEventTarget): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XMLHttpRequestUpload, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_fe_func_a_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_component_transfer_function_element import SVGComponentTransferFunctionElement 3 | 4 | 5 | @construct_100001 6 | class SVGFEFuncAElement(SVGComponentTransferFunctionElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGFEFuncAElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_fe_func_b_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_component_transfer_function_element import SVGComponentTransferFunctionElement 3 | 4 | 5 | @construct_100001 6 | class SVGFEFuncBElement(SVGComponentTransferFunctionElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGFEFuncBElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_fe_func_g_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_component_transfer_function_element import SVGComponentTransferFunctionElement 3 | 4 | 5 | @construct_100001 6 | class SVGFEFuncGElement(SVGComponentTransferFunctionElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGFEFuncGElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_fe_func_r_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_component_transfer_function_element import SVGComponentTransferFunctionElement 3 | 4 | 5 | @construct_100001 6 | class SVGFEFuncRElement(SVGComponentTransferFunctionElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGFEFuncRElement, self).__init__(*args, **kw) 12 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_color_buffer_half_float.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTColorBufferHalfFloat: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | RGBA16F_EXT = 34842 12 | RGB16F_EXT = 34843 13 | FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 33297 14 | UNSIGNED_NORMALIZED_EXT = 35863 15 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/rtc_peer_connection_ice_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_rtc_peer_connection_ice_event import RTCPeerConnectionIceEvent as V8RTCPeerConnectionIceEvent 3 | 4 | 5 | @impl_warp 6 | class RTCPeerConnectionIceEvent(V8RTCPeerConnectionIceEvent): 7 | def __init__(self, *args, **kw): 8 | kw.setdefault('isTrusted', True) 9 | super(RTCPeerConnectionIceEvent, self).__init__(*args, **kw) 10 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/offline_audio_completion_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_offline_audio_completion_event import OfflineAudioCompletionEvent as V8OfflineAudioCompletionEvent 3 | 4 | 5 | @impl_warp 6 | class OfflineAudioCompletionEvent(V8OfflineAudioCompletionEvent): 7 | def __init__(self, *args, **kw): 8 | kw.setdefault('isTrusted', True) 9 | super(OfflineAudioCompletionEvent, self).__init__(*args, **kw) 10 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_oes_shader_multisample_interpolation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class OESShaderMultisampleInterpolation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | MIN_FRAGMENT_INTERPOLATION_OFFSET_OES = 36443 12 | MAX_FRAGMENT_INTERPOLATION_OFFSET_OES = 36444 13 | FRAGMENT_INTERPOLATION_OFFSET_BITS_OES = 36445 14 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_compressed_texture_s3tc.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLCompressedTextureS3TC: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_RGB_S3TC_DXT1_EXT = 33776 12 | COMPRESSED_RGBA_S3TC_DXT1_EXT = 33777 13 | COMPRESSED_RGBA_S3TC_DXT3_EXT = 33778 14 | COMPRESSED_RGBA_S3TC_DXT5_EXT = 33779 15 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_texture_compression_rgtc.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTTextureCompressionRGTC: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_RED_RGTC1_EXT = 36283 12 | COMPRESSED_SIGNED_RED_RGTC1_EXT = 36284 13 | COMPRESSED_RED_GREEN_RGTC2_EXT = 36285 14 | COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = 36286 15 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_buffer_usage.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUBufferUsage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | MAP_READ = 1 12 | MAP_WRITE = 2 13 | COPY_SRC = 4 14 | COPY_DST = 8 15 | INDEX = 16 16 | VERTEX = 32 17 | UNIFORM = 64 18 | STORAGE = 128 19 | INDIRECT = 256 20 | QUERY_RESOLVE = 512 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_blend_func_extended.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLBlendFuncExtended: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | SRC1_COLOR_WEBGL = 35065 12 | SRC1_ALPHA_WEBGL = 34185 13 | ONE_MINUS_SRC1_COLOR_WEBGL = 35066 14 | ONE_MINUS_SRC1_ALPHA_WEBGL = 35067 15 | MAX_DUAL_SOURCE_DRAW_BUFFERS_WEBGL = 35068 16 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_compressed_texture_pvrtc.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLCompressedTexturePVRTC: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 35840 12 | COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 35841 13 | COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 35842 14 | COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 35843 15 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_texture_compression_bptc.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTTextureCompressionBPTC: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_RGBA_BPTC_UNORM_EXT = 36492 12 | COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = 36493 13 | COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = 36494 14 | COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = 36495 15 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_texture_norm_16.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTTextureNorm16: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | R16_EXT = 33322 12 | RG16_EXT = 33324 13 | RGB16_EXT = 32852 14 | RGBA16_EXT = 32859 15 | R16_SNORM_EXT = 36760 16 | RG16_SNORM_EXT = 36761 17 | RGB16_SNORM_EXT = 36762 18 | RGBA16_SNORM_EXT = 36763 19 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_compressed_texture_s3tc_srgb.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLCompressedTextureS3TCsRGB: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_SRGB_S3TC_DXT1_EXT = 35916 12 | COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 35917 13 | COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 35918 14 | COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = 35919 15 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/custom_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env import Undefined 2 | from pyv8env.env.chrome.flags import * 3 | from pyv8env.env.chrome.v8_custom_event import CustomEvent as V8CustomEvent 4 | 5 | 6 | @impl_warp 7 | class CustomEvent(V8CustomEvent): 8 | 9 | def __init__(self, *args, **kw): 10 | super(CustomEvent, self).__init__(*args, **kw) 11 | if len(args) > 1: 12 | option = args[1] 13 | if isinstance(option, dict): 14 | self._attr['detail'] = option.get('detail', Undefined) -------------------------------------------------------------------------------- /pyv8env/env/impl/event/device_motion_event_acceleration.py: -------------------------------------------------------------------------------- 1 | from pyv8env import Null 2 | from pyv8env.env.chrome.flags import * 3 | from pyv8env.env.chrome.v8_device_motion_event_acceleration import DeviceMotionEventAcceleration as V8DeviceMotionEventAcceleration 4 | 5 | 6 | @impl_warp 7 | class DeviceMotionEventAcceleration(V8DeviceMotionEventAcceleration): 8 | def __init__(self, *args, **kw): 9 | kw.setdefault("x", Null) 10 | kw.setdefault("y", Null) 11 | kw.setdefault("z", Null) 12 | self._attr = dict(kw) 13 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/device_motion_event_rotation_rate.py: -------------------------------------------------------------------------------- 1 | from pyv8env import Null 2 | from pyv8env.env.chrome.flags import * 3 | from pyv8env.env.chrome.v8_device_motion_event_rotation_rate import DeviceMotionEventRotationRate as V8DeviceMotionEventRotationRate 4 | 5 | 6 | @impl_warp 7 | class DeviceMotionEventRotationRate(V8DeviceMotionEventRotationRate): 8 | def __init__(self, *args, **kw): 9 | kw.setdefault("alpha", Null) 10 | kw.setdefault("beta", Null) 11 | kw.setdefault("gamma", Null) 12 | self._attr = dict(kw) 13 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/idb_version_change_event.py: -------------------------------------------------------------------------------- 1 | import pyv8env 2 | 3 | from pyv8env.env.chrome.flags import * 4 | from pyv8env.env.chrome.v8_idb_version_change_event import IDBVersionChangeEvent as V8IDBVersionChangeEvent 5 | from pyv8env.env.impl.error import V8TypeError 6 | 7 | 8 | @impl_warp 9 | class IDBVersionChangeEvent(V8IDBVersionChangeEvent): 10 | 11 | def __init__(self, name, **kw): 12 | kw.setdefault("oldVersion", 0) 13 | kw.setdefault("newVersion", 1) 14 | super(IDBVersionChangeEvent, self).__init__(name, **kw) 15 | -------------------------------------------------------------------------------- /pyv8env/env/impl/window_properties.py: -------------------------------------------------------------------------------- 1 | from pyv8env import Null 2 | from pyv8env.env.chrome.flags import * 3 | from pyv8env.env.chrome.v8_window_properties import WindowProperties as V8WindowProperties 4 | 5 | 6 | @impl_warp 7 | class WindowProperties(V8WindowProperties): 8 | 9 | def __v8_property_name_get__(self, name): 10 | # try: 11 | # ret = self.get_document().get_all().fn_namedItem(name) 12 | # if ret is not Null: 13 | # return ret 14 | # except: 15 | # pass 16 | pass 17 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/device_orientation_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env import Null 2 | from pyv8env.env.chrome.flags import * 3 | from pyv8env.env.chrome.v8_device_orientation_event import DeviceOrientationEvent as V8DeviceOrientationEvent 4 | 5 | 6 | @impl_warp 7 | class DeviceOrientationEvent(V8DeviceOrientationEvent): 8 | 9 | def __init__(self, *args, **kw): 10 | kw.setdefault("alpha", Null) 11 | kw.setdefault("beta", Null) 12 | kw.setdefault("gamma", Null) 13 | kw.setdefault("eventPhase", 0) 14 | super(DeviceOrientationEvent, self).__init__(*args, **kw) 15 | 16 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_eye_dropper.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class EyeDropper: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("open", "fn_open", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_open(self, *args): 20 | logger.debug(f'patch -> v8_eye_dropper.py -> EyeDropper.open{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ml.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class ML: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("createContext", "fn_createContext", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_createContext(self, *args): 20 | logger.debug(f'patch -> v8_ml.py -> ML.createContext{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_wake_lock.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class WakeLock: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("request", "fn_request", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_request(self, *args): 20 | logger.debug(f'patch -> v8_wake_lock.py -> WakeLock.request{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_worklet.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Worklet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("addModule", "fn_addModule", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_addModule(self, *args): 20 | logger.debug(f'patch -> v8_worklet.py -> Worklet.addModule{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_mojo_watcher.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MojoWatcher: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("cancel", "fn_cancel", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_cancel(self, *args): 20 | logger.debug(f'patch -> v8_mojo_watcher.py -> MojoWatcher.cancel{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_report_body.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class ReportBody: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("toJSON", "fn_toJSON", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_toJSON(self, *args): 20 | logger.debug(f'patch -> v8_report_body.py -> ReportBody.toJSON{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_face_detector.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class FaceDetector: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("detect", "fn_detect", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_detect(self, *args): 20 | logger.debug(f'patch -> v8_face_detector.py -> FaceDetector.detect{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ml_model_loader.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class MLModelLoader: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("load", "fn_load", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_load(self, *args): 20 | logger.debug(f'patch -> v8_ml_model_loader.py -> MLModelLoader.load{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_text_detector.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class TextDetector: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("detect", "fn_detect", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_detect(self, *args): 20 | logger.debug(f'patch -> v8_text_detector.py -> TextDetector.detect{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ink.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Ink: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("requestPresenter", "fn_requestPresenter", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_requestPresenter(self, *args): 20 | logger.debug(f'patch -> v8_ink.py -> Ink.requestPresenter{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | sys.path.append(os.path.dirname(os.getcwd())) 5 | 6 | import pyv8env 7 | from pyv8env.env.impl import * 8 | 9 | 10 | def callback(ctx, *arg): 11 | print(ctx.exec_js('''debugger; 1+1;''')) 12 | 13 | print(ctx.exec_js('''debugger; window.outerWidth;''')) 14 | 15 | try: 16 | print(ctx.exec_js('''debugger; xxx; ''', 'VM1')) 17 | except pyv8env.JSException as e: 18 | print(e) 19 | 20 | 21 | def test(): 22 | win = Window(hook=True, ) 23 | win.start(devtool=False, callback=callback) 24 | # win.start(devtool=True, callback=callback) 25 | 26 | 27 | if __name__ == '__main__': 28 | test() 29 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_launch_queue.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class LaunchQueue: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("setConsumer", "fn_setConsumer", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_setConsumer(self, *args): 20 | logger.debug(f'patch -> v8_launch_queue.py -> LaunchQueue.setConsumer{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_hit_test_source.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XRHitTestSource: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("cancel", "fn_cancel", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_cancel(self, *args): 20 | logger.debug(f'patch -> v8_xr_hit_test_source.py -> XRHitTestSource.cancel{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_navigator_login.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class NavigatorLogin: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("setStatus", "fn_setStatus", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_setStatus(self, *args): 20 | logger.debug(f'patch -> v8_navigator_login.py -> NavigatorLogin.setStatus{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xpath_expression.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XPathExpression: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("evaluate", "fn_evaluate", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_evaluate(self, *args): 20 | logger.debug(f'patch -> v8_xpath_expression.py -> XPathExpression.evaluate{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_dom_parser.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class DOMParser: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("parseFromString", "fn_parseFromString", 2, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_parseFromString(self, *args): 20 | logger.debug(f'patch -> v8_dom_parser.py -> DOMParser.parseFromString{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_formatted_text.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class FormattedText: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("format", "fn_format", 1, 0, 2, 0, 1, 1, 0), 16 | 17 | ) 18 | 19 | @classmethod 20 | def fn_format(cls, *args): 21 | logger.debug(f'patch -> v8_formatted_text.py -> FormattedText.format{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_inspector_overlay_host.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class InspectorOverlayHost: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("send", "fn_send", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_send(self, *args): 20 | logger.debug(f'patch -> v8_inspector_overlay_host.py -> InspectorOverlayHost.send{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_scheduling.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Scheduling: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("isInputPending", "fn_isInputPending", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_isInputPending(self, *args): 20 | logger.debug(f'patch -> v8_scheduling.py -> Scheduling.isInputPending{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sql_transaction.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SQLTransaction: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("executeSql", "fn_executeSql", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_executeSql(self, *args): 20 | logger.debug(f'patch -> v8_sql_transaction.py -> SQLTransaction.executeSql{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_headers.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_Headers: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_headers.py -> SyncIterator_Headers.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_xr_hand.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_XRHand: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_xr_hand.py -> SyncIterator_XRHand.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_canvas_pattern.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class CanvasPattern: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("setTransform", "fn_setTransform", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_setTransform(self, *args): 20 | logger.debug(f'patch -> v8_canvas_pattern.py -> CanvasPattern.setTransform{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_form_data.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_FormData: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_form_data.py -> SyncIterator_FormData.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_canvas_gradient.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class CanvasGradient: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("addColorStop", "fn_addColorStop", 2, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_addColorStop(self, *args): 20 | logger.debug(f'patch -> v8_canvas_gradient.py -> CanvasGradient.addColorStop{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_crop_target.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class CropTarget: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("fromElement", "fn_fromElement", 1, 0, 2, 0, 1, 1, 0), 16 | 17 | ) 18 | 19 | @classmethod 20 | def fn_fromElement(cls, *args): 21 | logger.debug(f'patch -> v8_crop_target.py -> CropTarget.fromElement{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_directory_reader.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class DirectoryReader: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("readEntries", "fn_readEntries", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_readEntries(self, *args): 20 | logger.debug(f'patch -> v8_directory_reader.py -> DirectoryReader.readEntries{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_language_translator.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class LanguageTranslator: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("translate", "fn_translate", 1, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_translate(self, *args): 20 | logger.debug(f'patch -> v8_language_translator.py -> LanguageTranslator.translate{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_highlight.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_Highlight: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_highlight.py -> SyncIterator_Highlight.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_xr_plane_set.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_XRPlaneSet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_xr_plane_set.py -> SyncIterator_XRPlaneSet.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_event_counts.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_EventCounts: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_event_counts.py -> SyncIterator_EventCounts.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_font_face_set.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_FontFaceSet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_font_face_set.py -> SyncIterator_FontFaceSet.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_xr_anchor_set.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_XRAnchorSet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_xr_anchor_set.py -> SyncIterator_XRAnchorSet.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_web_printing_manager.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class WebPrintingManager: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getPrinters", "fn_getPrinters", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_getPrinters(self, *args): 20 | logger.debug(f'patch -> v8_web_printing_manager.py -> WebPrintingManager.getPrinters{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_worklet_group_effect.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class WorkletGroupEffect: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getChildren", "fn_getChildren", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_getChildren(self, *args): 20 | logger.debug(f'patch -> v8_worklet_group_effect.py -> WorkletGroupEffect.getChildren{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_cookie_deprecation_label.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class CookieDeprecationLabel: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getValue", "fn_getValue", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_getValue(self, *args): 20 | logger.debug(f'patch -> v8_cookie_deprecation_label.py -> CookieDeprecationLabel.getValue{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_directory_reader_sync.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class DirectoryReaderSync: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("readEntries", "fn_readEntries", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_readEntries(self, *args): 20 | logger.debug(f'patch -> v8_directory_reader_sync.py -> DirectoryReaderSync.readEntries{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_internals_ukm_recorder.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class InternalsUkmRecorder: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getMetrics", "fn_getMetrics", 2, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_getMetrics(self, *args): 20 | logger.debug(f'patch -> v8_internals_ukm_recorder.py -> InternalsUkmRecorder.getMetrics{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_midi_input_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_MIDIInputMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_midi_input_map.py -> SyncIterator_MIDIInputMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xml_serializer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class XMLSerializer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("serializeToString", "fn_serializeToString", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_serializeToString(self, *args): 20 | logger.debug(f'patch -> v8_xml_serializer.py -> XMLSerializer.serializeToString{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_async_iterator_shared_storage.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class AsyncIterator_SharedStorage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_async_iterator_shared_storage.py -> AsyncIterator_SharedStorage.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_audio_param_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_AudioParamMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_audio_param_map.py -> SyncIterator_AudioParamMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_custom_state_set.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_CustomStateSet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_custom_state_set.py -> SyncIterator_CustomStateSet.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_midi_output_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_MIDIOutputMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_midi_output_map.py -> SyncIterator_MIDIOutputMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_rtc_stats_report.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_RTCStatsReport: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_rtc_stats_report.py -> SyncIterator_RTCStatsReport.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_midi_output.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_midi_port import MIDIPort 3 | 4 | 5 | @construct_100001 6 | class MIDIOutput(MIDIPort): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(MIDIOutput, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("send", "fn_send", 1, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_send(self, *args): 21 | logger.debug(f'patch -> v8_midi_output.py -> MIDIOutput.send{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_restriction_target.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class RestrictionTarget: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("fromElement", "fn_fromElement", 1, 0, 2, 0, 1, 1, 0), 16 | 17 | ) 18 | 19 | @classmethod 20 | def fn_fromElement(cls, *args): 21 | logger.debug(f'patch -> v8_restriction_target.py -> RestrictionTarget.fromElement{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_url_search_params.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_URLSearchParams: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_url_search_params.py -> SyncIterator_URLSearchParams.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_highlight_registry.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_HighlightRegistry: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_highlight_registry.py -> SyncIterator_HighlightRegistry.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_clip_cull_distance.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLClipCullDistance: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | MAX_CLIP_DISTANCES_WEBGL = 3378 12 | MAX_CULL_DISTANCES_WEBGL = 33529 13 | MAX_COMBINED_CLIP_AND_CULL_DISTANCES_WEBGL = 33530 14 | CLIP_DISTANCE0_WEBGL = 12288 15 | CLIP_DISTANCE1_WEBGL = 12289 16 | CLIP_DISTANCE2_WEBGL = 12290 17 | CLIP_DISTANCE3_WEBGL = 12291 18 | CLIP_DISTANCE4_WEBGL = 12292 19 | CLIP_DISTANCE5_WEBGL = 12293 20 | CLIP_DISTANCE6_WEBGL = 12294 21 | CLIP_DISTANCE7_WEBGL = 12295 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_keyboard_layout_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_KeyboardLayoutMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_keyboard_layout_map.py -> SyncIterator_KeyboardLayoutMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_media_key_status_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_MediaKeyStatusMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_media_key_status_map.py -> SyncIterator_MediaKeyStatusMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_node_filter.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class NodeFilter: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | FILTER_ACCEPT = 1 12 | FILTER_REJECT = 2 13 | FILTER_SKIP = 3 14 | SHOW_ALL = 4294967295 15 | SHOW_ELEMENT = 1 16 | SHOW_ATTRIBUTE = 2 17 | SHOW_TEXT = 4 18 | SHOW_CDATA_SECTION = 8 19 | SHOW_ENTITY_REFERENCE = 16 20 | SHOW_ENTITY = 32 21 | SHOW_PROCESSING_INSTRUCTION = 64 22 | SHOW_COMMENT = 128 23 | SHOW_DOCUMENT = 256 24 | SHOW_DOCUMENT_TYPE = 512 25 | SHOW_DOCUMENT_FRAGMENT = 1024 26 | SHOW_NOTATION = 2048 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_protected_audience.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class ProtectedAudience: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("queryFeatureSupport", "fn_queryFeatureSupport", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_queryFeatureSupport(self, *args): 20 | logger.debug(f'patch -> v8_protected_audience.py -> ProtectedAudience.queryFeatureSupport{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_compressed_texture_etc.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLCompressedTextureETC: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | COMPRESSED_R11_EAC = 37488 12 | COMPRESSED_SIGNED_R11_EAC = 37489 13 | COMPRESSED_RG11_EAC = 37490 14 | COMPRESSED_SIGNED_RG11_EAC = 37491 15 | COMPRESSED_RGB8_ETC2 = 37492 16 | COMPRESSED_SRGB8_ETC2 = 37493 17 | COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37494 18 | COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37495 19 | COMPRESSED_RGBA8_ETC2_EAC = 37496 20 | COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 37497 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_transient_input_hit_test_source.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XRTransientInputHitTestSource: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("cancel", "fn_cancel", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_cancel(self, *args): 20 | logger.debug(f'patch -> v8_xr_transient_input_hit_test_source.py -> XRTransientInputHitTestSource.cancel{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_gpu_supported_features.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_GPUSupportedFeatures: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_gpu_supported_features.py -> SyncIterator_GPUSupportedFeatures.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_wgsl_language_features.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_WGSLLanguageFeatures: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_wgsl_language_features.py -> SyncIterator_WGSLLanguageFeatures.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_view_transition_type_set.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_ViewTransitionTypeSet: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_view_transition_type_set.py -> SyncIterator_ViewTransitionTypeSet.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_garbage_collected_script_wrappable.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class GarbageCollectedScriptWrappable: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("toString", "fn_toString", 0, 0, 1, 2, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_toString(self, *args): 20 | logger.debug(f'patch -> v8_garbage_collected_script_wrappable.py -> GarbageCollectedScriptWrappable.toString{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_smart_card_resource_manager.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class SmartCardResourceManager: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("establishContext", "fn_establishContext", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_establishContext(self, *args): 20 | logger.debug(f'patch -> v8_smart_card_resource_manager.py -> SmartCardResourceManager.establishContext{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_bluetooth_service_data_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_BluetoothServiceDataMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_bluetooth_service_data_map.py -> SyncIterator_BluetoothServiceDataMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_css_font_feature_values_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_CSSFontFeatureValuesMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_css_font_feature_values_map.py -> SyncIterator_CSSFontFeatureValuesMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_style_property_map_read_only.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_StylePropertyMapReadOnly: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_style_property_map_read_only.py -> SyncIterator_StylePropertyMapReadOnly.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_debug_shaders.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLDebugShaders: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getTranslatedShaderSource", "fn_getTranslatedShaderSource", 1, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_getTranslatedShaderSource(self, *args): 20 | logger.debug(f'patch -> v8_webgl_debug_shaders.py -> WebGLDebugShaders.getTranslatedShaderSource{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_async_iterator_file_system_directory_handle.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class AsyncIterator_FileSystemDirectoryHandle: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 1, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_async_iterator_file_system_directory_handle.py -> AsyncIterator_FileSystemDirectoryHandle.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_bar_prop.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class BarProp: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("visible", "get_visible", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_visible(self): 20 | val = self._attr.get('visible') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_bar_prop.py -> BarProp.visible -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_iterator_bluetooth_manufacturer_data_map.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class SyncIterator_BluetoothManufacturerDataMap: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 0, 0, 0), 16 | 17 | ) 18 | 19 | def fn_next(self, *args): 20 | logger.debug(f'patch -> v8_sync_iterator_bluetooth_manufacturer_data_map.py -> SyncIterator_BluetoothManufacturerDataMap.next{tuple(args)} -> method') 21 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUError: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("message", "get_message", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_message(self): 20 | val = self._attr.get('message') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_error.py -> GPUError.message -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_audio_sink_info.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class AudioSinkInfo: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("type", "get_type", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_type(self): 20 | val = self._attr.get('type') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_audio_sink_info.py -> AudioSinkInfo.type -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_task_controller.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_abort_controller import AbortController 3 | 4 | 5 | @construct_110001 6 | class TaskController(AbortController): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(TaskController, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("setPriority", "fn_setPriority", 1, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_setPriority(self, *args): 21 | logger.debug(f'patch -> v8_task_controller.py -> TaskController.setPriority{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ndef_message.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class NDEFMessage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("records", "get_records", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_records(self): 20 | val = self._attr.get('records') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_ndef_message.py -> NDEFMessage.records -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_sub_image.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XRSubImage: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("viewport", "get_viewport", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_viewport(self): 20 | val = self._attr.get('viewport') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_xr_sub_image.py -> XRSubImage.viewport -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_polygon_offset_clamp.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTPolygonOffsetClamp: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | POLYGON_OFFSET_CLAMP_EXT = 36379 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("polygonOffsetClampEXT", "fn_polygonOffsetClampEXT", 3, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_polygonOffsetClampEXT(self, *args): 21 | logger.debug(f'patch -> v8_ext_polygon_offset_clamp.py -> EXTPolygonOffsetClamp.polygonOffsetClampEXT{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_iir_filter_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_112001 6 | class IIRFilterNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(IIRFilterNode, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("getFrequencyResponse", "fn_getFrequencyResponse", 3, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getFrequencyResponse(self, *args): 21 | logger.debug(f'patch -> v8_iir_filter_node.py -> IIRFilterNode.getFrequencyResponse{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_selector_directive.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_directive import Directive 3 | 4 | 5 | @construct_100001 6 | class SelectorDirective(Directive): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SelectorDirective, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("getMatchingRange", "fn_getMatchingRange", 0, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getMatchingRange(self, *args): 21 | logger.debug(f'patch -> v8_selector_directive.py -> SelectorDirective.getMatchingRange{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_dom_overlay_state.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XRDOMOverlayState: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("type", "get_type", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_type(self): 20 | val = self._attr.get('type') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_xr_dom_overlay_state.py -> XRDOMOverlayState.type -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_input_device_info.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_media_device_info import MediaDeviceInfo 3 | 4 | 5 | @construct_100001 6 | class InputDeviceInfo(MediaDeviceInfo): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(InputDeviceInfo, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("getCapabilities", "fn_getCapabilities", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getCapabilities(self, *args): 21 | logger.debug(f'patch -> v8_input_device_info.py -> InputDeviceInfo.getCapabilities{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_audio_worklet_processor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class AudioWorkletProcessor: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("port", "get_port", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_port(self): 20 | val = self._attr.get('port') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_audio_worklet_processor.py -> AudioWorkletProcessor.port -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_device_properties.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class DeviceProperties: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("uniqueId", "get_uniqueId", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_uniqueId(self): 20 | val = self._attr.get('uniqueId') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_device_properties.py -> DeviceProperties.uniqueId -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_fetch_later_result.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class FetchLaterResult: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("activated", "get_activated", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_activated(self): 20 | val = self._attr.get('activated') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_fetch_later_result.py -> FetchLaterResult.activated -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gc_observation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class GCObservation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("wasCollected", "get_wasCollected", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_wasCollected(self): 20 | val = self._attr.get('wasCollected') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gc_observation.py -> GCObservation.wasCollected -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_node_part.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_part import Part 3 | 4 | 5 | @construct_112001 6 | class NodePart(Part): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(NodePart, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("node", "get_node", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_node(self): 21 | val = self._attr.get('node') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_node_part.py -> NodePart.node -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_timestamp_trigger.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class TimestampTrigger: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("timestamp", "get_timestamp", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_timestamp(self): 20 | val = self._attr.get('timestamp') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_timestamp_trigger.py -> TimestampTrigger.timestamp -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_compilation_info.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUCompilationInfo: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("messages", "get_messages", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_messages(self): 20 | val = self._attr.get('messages') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_compilation_info.py -> GPUCompilationInfo.messages -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gain_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class GainNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GainNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("gain", "get_gain", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_gain(self): 21 | val = self._attr.get('gain') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_gain_node.py -> GainNode.gain -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_polygon_mode.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLPolygonMode: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | POLYGON_MODE_WEBGL = 2880 12 | POLYGON_OFFSET_LINE_WEBGL = 10754 13 | LINE_WEBGL = 6913 14 | FILL_WEBGL = 6914 15 | 16 | __v8_method__ = ( 17 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 18 | # cross_origin_check, SideEffectType) 19 | ("polygonModeWEBGL", "fn_polygonModeWEBGL", 2, 0, 1, 0, 0, 0, 0), 20 | 21 | ) 22 | 23 | def fn_polygonModeWEBGL(self, *args): 24 | logger.debug(f'patch -> v8_webgl_polygon_mode.py -> WebGLPolygonMode.polygonModeWEBGL{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ml_operand.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MLOperand: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("dataType", "fn_dataType", 0, 0, 1, 0, 0, 0, 0), 16 | ("shape", "fn_shape", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_dataType(self, *args): 21 | logger.debug(f'patch -> v8_ml_operand.py -> MLOperand.dataType{tuple(args)} -> method') 22 | 23 | def fn_shape(self, *args): 24 | logger.debug(f'patch -> v8_ml_operand.py -> MLOperand.shape{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_lock_manager.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class LockManager: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("query", "fn_query", 0, 0, 1, 0, 1, 0, 0), 16 | ("request", "fn_request", 2, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_query(self, *args): 21 | logger.debug(f'patch -> v8_lock_manager.py -> LockManager.query{tuple(args)} -> method') 22 | 23 | def fn_request(self, *args): 24 | logger.debug(f'patch -> v8_lock_manager.py -> LockManager.request{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_stream_track_processor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class MediaStreamTrackProcessor: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("readable", "get_readable", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_readable(self): 20 | val = self._attr.get('readable') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_media_stream_track_processor.py -> MediaStreamTrackProcessor.readable -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_number.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class SVGNumber: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("value", "get_value", "set_value", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_value(self): 20 | val = self._attr.get('value') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_svg_number.py -> SVGNumber.value -> get attr') 24 | 25 | def set_value(self, val): 26 | self._attr['value'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_joint_pose.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_xr_pose import XRPose 3 | 4 | 5 | @construct_100001 6 | class XRJointPose(XRPose): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRJointPose, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("radius", "get_radius", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_radius(self): 21 | val = self._attr.get('radius') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_xr_joint_pose.py -> XRJointPose.radius -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_viewer_pose.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_xr_pose import XRPose 3 | 4 | 5 | @construct_100001 6 | class XRViewerPose(XRPose): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRViewerPose, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("views", "get_views", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_views(self): 21 | val = self._attr.get('views') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_xr_viewer_pose.py -> XRViewerPose.views -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_color_page_popup_controller.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_page_popup_controller import PagePopupController 3 | 4 | 5 | @construct_000000 6 | class ColorPagePopupController(PagePopupController): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ColorPagePopupController, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("openEyeDropper", "fn_openEyeDropper", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_openEyeDropper(self, *args): 21 | logger.debug(f'patch -> v8_color_page_popup_controller.py -> ColorPagePopupController.openEyeDropper{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_sampler.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUSampler: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_sampler.py -> GPUSampler.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_layout_worklet_global_scope.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_worklet_global_scope import WorkletGlobalScope 3 | 4 | 5 | @construct_100031 6 | class LayoutWorkletGlobalScope(WorkletGlobalScope): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(LayoutWorkletGlobalScope, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("registerLayout", "fn_registerLayout", 2, 0, 0, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_registerLayout(self, *args): 21 | logger.debug(f'patch -> v8_layout_worklet_global_scope.py -> LayoutWorkletGlobalScope.registerLayout{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_presentation_receiver.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class PresentationReceiver: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("connectionList", "get_connectionList", None, 0, 1, 0, 1, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_connectionList(self): 20 | val = self._attr.get('connectionList') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_presentation_receiver.py -> PresentationReceiver.connectionList -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_authenticator_response.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class AuthenticatorResponse: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("clientDataJSON", "get_clientDataJSON", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_clientDataJSON(self): 20 | val = self._attr.get('clientDataJSON') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_authenticator_response.py -> AuthenticatorResponse.clientDataJSON -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_delay_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class DelayNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(DelayNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("delayTime", "get_delayTime", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_delayTime(self): 21 | val = self._attr.get('delayTime') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_delay_node.py -> DelayNode.delayTime -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_otp_credential.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_credential import Credential 3 | 4 | 5 | @construct_100001 6 | class OTPCredential(Credential): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(OTPCredential, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("code", "get_code", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_code(self): 21 | val = self._attr.get('code') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_otp_credential.py -> OTPCredential.code -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_max.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_110001 6 | class CSSMathMax(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathMax, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("values", "get_values", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_values(self): 21 | val = self._attr.get('values') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_max.py -> CSSMathMax.values -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_min.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_110001 6 | class CSSMathMin(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathMin, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("values", "get_values", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_values(self): 21 | val = self._attr.get('values') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_min.py -> CSSMathMin.values -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_sum.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_110001 6 | class CSSMathSum(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathSum, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("values", "get_values", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_values(self): 21 | val = self._attr.get('values') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_sum.py -> CSSMathSum.values -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_bind_group.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUBindGroup: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_bind_group.py -> GPUBindGroup.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_sync_manager.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class SyncManager: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getTags", "fn_getTags", 0, 0, 1, 0, 1, 0, 0), 16 | ("register", "fn_register", 1, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getTags(self, *args): 21 | logger.debug(f'patch -> v8_sync_manager.py -> SyncManager.getTags{tuple(args)} -> method') 22 | 23 | def fn_register(self, *args): 24 | logger.debug(f'patch -> v8_sync_manager.py -> SyncManager.register{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_font_face_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_rule import CSSRule 3 | 4 | 5 | @construct_100001 6 | class CSSFontFaceRule(CSSRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSFontFaceRule, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("style", "get_style", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_style(self): 21 | val = self._attr.get('style') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_font_face_rule.py -> CSSFontFaceRule.style -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_stereo_panner_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class StereoPannerNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(StereoPannerNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("pan", "get_pan", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_pan(self): 21 | val = self._attr.get('pan') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_stereo_panner_node.py -> StereoPannerNode.pan -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_mpath_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGMPathElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGMPathElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("href", "get_href", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_href(self): 21 | val = self._attr.get('href') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_svg_mpath_element.py -> SVGMPathElement.href -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_usb_isochronous_out_transfer_result.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class USBIsochronousOutTransferResult: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("packets", "get_packets", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_packets(self): 20 | val = self._attr.get('packets') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_usb_isochronous_out_transfer_result.py -> USBIsochronousOutTransferResult.packets -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_joint_space.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_xr_space import XRSpace 3 | 4 | 5 | @construct_100001 6 | class XRJointSpace(XRSpace): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRJointSpace, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("jointName", "get_jointName", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_jointName(self): 21 | val = self._attr.get('jointName') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_xr_joint_space.py -> XRJointSpace.jointName -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_animation_worklet_global_scope.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_worklet_global_scope import WorkletGlobalScope 3 | 4 | 5 | @construct_100031 6 | class AnimationWorkletGlobalScope(WorkletGlobalScope): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(AnimationWorkletGlobalScope, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("registerAnimator", "fn_registerAnimator", 2, 0, 0, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_registerAnimator(self, *args): 21 | logger.debug(f'patch -> v8_animation_worklet_global_scope.py -> AnimationWorkletGlobalScope.registerAnimator{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_invert.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_111001 6 | class CSSMathInvert(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathInvert, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("value", "get_value", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_value(self): 21 | val = self._attr.get('value') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_invert.py -> CSSMathInvert.value -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_negate.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_111001 6 | class CSSMathNegate(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathNegate, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("value", "get_value", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_value(self): 21 | val = self._attr.get('value') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_negate.py -> CSSMathNegate.value -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_texture_view.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUTextureView: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_texture_view.py -> GPUTextureView.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_screen_capture_media_stream_track.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_media_stream_track import MediaStreamTrack 3 | 4 | 5 | @construct_100001 6 | class ScreenCaptureMediaStreamTrack(MediaStreamTrack): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ScreenCaptureMediaStreamTrack, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("screenDetailed", "fn_screenDetailed", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_screenDetailed(self, *args): 21 | logger.debug(f'patch -> v8_screen_capture_media_stream_track.py -> ScreenCaptureMediaStreamTrack.screenDetailed{tuple(args)} -> method') 22 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_stop_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGStopElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGStopElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("offset", "get_offset", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_offset(self): 21 | val = self._attr.get('offset') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_svg_stop_element.py -> SVGStopElement.offset -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_provoking_vertex.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLProvokingVertex: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | FIRST_VERTEX_CONVENTION_WEBGL = 36429 12 | LAST_VERTEX_CONVENTION_WEBGL = 36430 13 | PROVOKING_VERTEX_WEBGL = 36431 14 | 15 | __v8_method__ = ( 16 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 17 | # cross_origin_check, SideEffectType) 18 | ("provokingVertexWEBGL", "fn_provokingVertexWEBGL", 1, 0, 1, 0, 0, 0, 0), 19 | 20 | ) 21 | 22 | def fn_provokingVertexWEBGL(self, *args): 23 | logger.debug(f'patch -> v8_webgl_provoking_vertex.py -> WebGLProvokingVertex.provokingVertexWEBGL{tuple(args)} -> method') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_command_buffer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUCommandBuffer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_command_buffer.py -> GPUCommandBuffer.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_render_bundle.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPURenderBundle: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_render_bundle.py -> GPURenderBundle.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_input_device_capabilities.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class InputDeviceCapabilities: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("firesTouchEvents", "get_firesTouchEvents", None, 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_firesTouchEvents(self): 20 | val = self._attr.get('firesTouchEvents') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_input_device_capabilities.py -> InputDeviceCapabilities.firesTouchEvents -> get attr') 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_product.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_math_value import CSSMathValue 3 | 4 | 5 | @construct_110001 6 | class CSSMathProduct(CSSMathValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathProduct, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("values", "get_values", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_values(self): 21 | val = self._attr.get('values') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_product.py -> CSSMathProduct.values -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_pipeline_layout.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUPipelineLayout: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_pipeline_layout.py -> GPUPipelineLayout.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/impl/event/touch_event.py: -------------------------------------------------------------------------------- 1 | from pyv8env.env.chrome.flags import * 2 | from pyv8env.env.chrome.v8_touch_event import TouchEvent as V8TouchEvent 3 | from pyv8env.env.impl.error import V8TypeError 4 | from .touch_list import TouchList 5 | 6 | 7 | @impl_warp 8 | class TouchEvent(V8TouchEvent): 9 | def __init__(self, *args, **kw): 10 | if len(args) == 0: 11 | raise V8TypeError("Failed to construct 'MouseEvent': 1 argument required, but only 0 present.") 12 | 13 | for k, v in { 14 | "touches": TouchList(), 15 | "targetTouches": TouchList(), 16 | "changedTouches": TouchList(), 17 | "altKey": False, 18 | "metaKey": False, 19 | "ctrlKey": False, 20 | "shiftKey": False, 21 | }.items(): 22 | kw.setdefault(k, v) 23 | super(TouchEvent, self).__init__(*args, **kw) 24 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_math_value.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_numeric_value import CSSNumericValue 3 | 4 | 5 | @construct_100001 6 | class CSSMathValue(CSSNumericValue): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMathValue, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("operator", "get_operator", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_operator(self): 21 | val = self._attr.get('operator') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_math_value.py -> CSSMathValue.operator -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_disjoint_timer_query_webgl2.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTDisjointTimerQueryWebGL2: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | QUERY_COUNTER_BITS_EXT = 34916 12 | TIME_ELAPSED_EXT = 35007 13 | TIMESTAMP_EXT = 36392 14 | GPU_DISJOINT_EXT = 36795 15 | 16 | __v8_method__ = ( 17 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 18 | # cross_origin_check, SideEffectType) 19 | ("queryCounterEXT", "fn_queryCounterEXT", 2, 0, 1, 0, 0, 0, 0), 20 | 21 | ) 22 | 23 | def fn_queryCounterEXT(self, *args): 24 | logger.debug(f'patch -> v8_ext_disjoint_timer_query_webgl2.py -> EXTDisjointTimerQueryWebGL2.queryCounterEXT{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_bind_group_layout.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class GPUBindGroupLayout: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_attribute__ = ( 13 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 15 | ("label", "get_label", "set_label", 0, 1, 0, 0, 0, 0, 1), 16 | 17 | ) 18 | 19 | def get_label(self): 20 | val = self._attr.get('label') 21 | if val is not None: 22 | return val 23 | logger.debug(f'patch -> v8_gpu_bind_group_layout.py -> GPUBindGroupLayout.label -> get attr') 24 | 25 | def set_label(self, val): 26 | self._attr['label'] = val 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_gpu_pipeline_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_dom_exception import DOMException 3 | 4 | 5 | @construct_111001 6 | class GPUPipelineError(DOMException): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(GPUPipelineError, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("reason", "get_reason", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_reason(self): 21 | val = self._attr.get('reason') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_gpu_pipeline_error.py -> GPUPipelineError.reason -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_idb_cursor_with_value.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_idb_cursor import IDBCursor 3 | 4 | 5 | @construct_100001 6 | class IDBCursorWithValue(IDBCursor): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(IDBCursorWithValue, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("value", "get_value", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_value(self): 21 | val = self._attr.get('value') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_idb_cursor_with_value.py -> IDBCursorWithValue.value -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_animation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_animation import Animation 3 | 4 | 5 | @construct_100001 6 | class CSSAnimation(Animation): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSAnimation, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("animationName", "get_animationName", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_animationName(self): 21 | val = self._attr.get('animationName') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_animation.py -> CSSAnimation.animationName -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_dom_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_111001 5 | class DOMError(Exception): 6 | 7 | __v8_attribute__ = ( 8 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 9 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 10 | ("name", "get_name", None, 0, 1, 0, 0, 0, 0, 1), 11 | ("message", "get_message", None, 0, 1, 0, 0, 0, 0, 1), 12 | 13 | ) 14 | 15 | def get_name(self): 16 | val = self._attr.get('name') 17 | if val is not None: 18 | return val 19 | logger.debug(f'patch -> v8_dom_error.py -> DOMError.name -> get attr') 20 | 21 | def get_message(self): 22 | val = self._attr.get('message') 23 | if val is not None: 24 | return val 25 | logger.debug(f'patch -> v8_dom_error.py -> DOMError.message -> get attr') 26 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_performance_mark.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_performance_entry import PerformanceEntry 3 | 4 | 5 | @construct_111001 6 | class PerformanceMark(PerformanceEntry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(PerformanceMark, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("detail", "get_detail", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_detail(self): 21 | val = self._attr.get('detail') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_performance_mark.py -> PerformanceMark.detail -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_layer_block_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_grouping_rule import CSSGroupingRule 3 | 4 | 5 | @construct_100001 6 | class CSSLayerBlockRule(CSSGroupingRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSLayerBlockRule, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("name", "get_name", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_name(self): 21 | val = self._attr.get('name') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_layer_block_rule.py -> CSSLayerBlockRule.name -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ext_clip_control.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class EXTClipControl: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | LOWER_LEFT_EXT = 36001 12 | UPPER_LEFT_EXT = 36002 13 | NEGATIVE_ONE_TO_ONE_EXT = 37726 14 | ZERO_TO_ONE_EXT = 37727 15 | CLIP_ORIGIN_EXT = 37724 16 | CLIP_DEPTH_MODE_EXT = 37725 17 | 18 | __v8_method__ = ( 19 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 20 | # cross_origin_check, SideEffectType) 21 | ("clipControlEXT", "fn_clipControlEXT", 2, 0, 1, 0, 0, 0, 0), 22 | 23 | ) 24 | 25 | def fn_clipControlEXT(self, *args): 26 | logger.debug(f'patch -> v8_ext_clip_control.py -> EXTClipControl.clipControlEXT{tuple(args)} -> method') 27 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_svg_fe_merge_node_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_svg_element import SVGElement 3 | 4 | 5 | @construct_100001 6 | class SVGFEMergeNodeElement(SVGElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SVGFEMergeNodeElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("in1", "get_in1", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_in1(self): 21 | val = self._attr.get('in1') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_svg_fe_merge_node_element.py -> SVGFEMergeNodeElement.in1 -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_contacts_manager.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class ContactsManager: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getProperties", "fn_getProperties", 0, 0, 1, 0, 1, 0, 0), 16 | ("select", "fn_select", 1, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getProperties(self, *args): 21 | logger.debug(f'patch -> v8_contacts_manager.py -> ContactsManager.getProperties{tuple(args)} -> method') 22 | 23 | def fn_select(self, *args): 24 | logger.debug(f'patch -> v8_contacts_manager.py -> ContactsManager.select{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_ambient_light_sensor.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_sensor import Sensor 3 | 4 | 5 | @construct_110001 6 | class AmbientLightSensor(Sensor): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(AmbientLightSensor, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("illuminance", "get_illuminance", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_illuminance(self): 21 | val = self._attr.get('illuminance') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_ambient_light_sensor.py -> AmbientLightSensor.illuminance -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_data_list_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLDataListElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLDataListElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("options", "get_options", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_options(self): 21 | val = self._attr.get('options') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_html_data_list_element.py -> HTMLDataListElement.options -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_performance_measure.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_performance_entry import PerformanceEntry 3 | 4 | 5 | @construct_100001 6 | class PerformanceMeasure(PerformanceEntry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(PerformanceMeasure, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("detail", "get_detail", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_detail(self): 21 | val = self._attr.get('detail') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_performance_measure.py -> PerformanceMeasure.detail -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_smart_card_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_dom_exception import DOMException 3 | 4 | 5 | @construct_112001 6 | class SmartCardError(DOMException): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(SmartCardError, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("responseCode", "get_responseCode", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_responseCode(self): 21 | val = self._attr.get('responseCode') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_smart_card_error.py -> SmartCardError.responseCode -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_hit_test_result.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class XRHitTestResult: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("getPose", "fn_getPose", 1, 0, 1, 0, 0, 0, 0), 16 | ("createAnchor", "fn_createAnchor", 0, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_getPose(self, *args): 21 | logger.debug(f'patch -> v8_xr_hit_test_result.py -> XRHitTestResult.getPose{tuple(args)} -> method') 22 | 23 | def fn_createAnchor(self, *args): 24 | logger.debug(f'patch -> v8_xr_hit_test_result.py -> XRHitTestResult.createAnchor{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_layer_statement_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_rule import CSSRule 3 | 4 | 5 | @construct_100001 6 | class CSSLayerStatementRule(CSSRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSLayerStatementRule, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("nameList", "get_nameList", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_nameList(self): 21 | val = self._attr.get('nameList') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_layer_statement_rule.py -> CSSLayerStatementRule.nameList -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_translation.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class Translation: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("canTranslate", "fn_canTranslate", 1, 0, 1, 0, 1, 0, 0), 16 | ("createTranslator", "fn_createTranslator", 1, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_canTranslate(self, *args): 21 | logger.debug(f'patch -> v8_translation.py -> Translation.canTranslate{tuple(args)} -> method') 22 | 23 | def fn_createTranslator(self, *args): 24 | logger.debug(f'patch -> v8_translation.py -> Translation.createTranslator{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_file_entry.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_entry import Entry 3 | 4 | 5 | @construct_000000 6 | class FileEntry(Entry): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(FileEntry, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("createWriter", "fn_createWriter", 1, 0, 1, 0, 0, 0, 0), 17 | ("file", "fn_file", 1, 0, 1, 0, 0, 0, 0), 18 | 19 | ) 20 | 21 | def fn_createWriter(self, *args): 22 | logger.debug(f'patch -> v8_file_entry.py -> FileEntry.createWriter{tuple(args)} -> method') 23 | 24 | def fn_file(self, *args): 25 | logger.debug(f'patch -> v8_file_entry.py -> FileEntry.file{tuple(args)} -> method') 26 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_transition.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_animation import Animation 3 | 4 | 5 | @construct_100001 6 | class CSSTransition(Animation): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSTransition, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("transitionProperty", "get_transitionProperty", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_transitionProperty(self): 21 | val = self._attr.get('transitionProperty') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_transition.py -> CSSTransition.transitionProperty -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_overconstrained_error.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_dom_exception import DOMException 3 | 4 | 5 | @construct_111001 6 | class OverconstrainedError(DOMException): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(OverconstrainedError, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("constraint", "get_constraint", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_constraint(self): 21 | val = self._attr.get('constraint') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_overconstrained_error.py -> OverconstrainedError.constraint -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_condition_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_grouping_rule import CSSGroupingRule 3 | 4 | 5 | @construct_100001 6 | class CSSConditionRule(CSSGroupingRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSConditionRule, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("conditionText", "get_conditionText", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_conditionText(self): 21 | val = self._attr.get('conditionText') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_condition_rule.py -> CSSConditionRule.conditionText -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_handwriting_recognizer.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000001 5 | class HandwritingRecognizer: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("finish", "fn_finish", 0, 0, 1, 0, 0, 0, 0), 16 | ("startDrawing", "fn_startDrawing", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_finish(self, *args): 21 | logger.debug(f'patch -> v8_handwriting_recognizer.py -> HandwritingRecognizer.finish{tuple(args)} -> method') 22 | 23 | def fn_startDrawing(self, *args): 24 | logger.debug(f'patch -> v8_handwriting_recognizer.py -> HandwritingRecognizer.startDrawing{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_capabilities.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class MediaCapabilities: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("decodingInfo", "fn_decodingInfo", 1, 0, 1, 0, 1, 0, 0), 16 | ("encodingInfo", "fn_encodingInfo", 1, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_decodingInfo(self, *args): 21 | logger.debug(f'patch -> v8_media_capabilities.py -> MediaCapabilities.decodingInfo{tuple(args)} -> method') 22 | 23 | def fn_encodingInfo(self, *args): 24 | logger.debug(f'patch -> v8_media_capabilities.py -> MediaCapabilities.encodingInfo{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_webgl_lose_context.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class WebGLLoseContext: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("loseContext", "fn_loseContext", 0, 0, 1, 0, 0, 0, 0), 16 | ("restoreContext", "fn_restoreContext", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_loseContext(self, *args): 21 | logger.debug(f'patch -> v8_webgl_lose_context.py -> WebGLLoseContext.loseContext{tuple(args)} -> method') 22 | 23 | def fn_restoreContext(self, *args): 24 | logger.debug(f'patch -> v8_webgl_lose_context.py -> WebGLLoseContext.restoreContext{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_constant_source_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_scheduled_source_node import AudioScheduledSourceNode 3 | 4 | 5 | @construct_111001 6 | class ConstantSourceNode(AudioScheduledSourceNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(ConstantSourceNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("offset", "get_offset", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_offset(self): 21 | val = self._attr.get('offset') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_constant_source_node.py -> ConstantSourceNode.offset -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_skew_x.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_transform_component import CSSTransformComponent 3 | 4 | 5 | @construct_111001 6 | class CSSSkewX(CSSTransformComponent): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSSkewX, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("ax", "get_ax", "set_ax", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_ax(self): 21 | val = self._attr.get('ax') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_skew_x.py -> CSSSkewX.ax -> get attr') 25 | 26 | def set_ax(self, val): 27 | self._attr['ax'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_skew_y.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_transform_component import CSSTransformComponent 3 | 4 | 5 | @construct_111001 6 | class CSSSkewY(CSSTransformComponent): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSSkewY, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("ay", "get_ay", "set_ay", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_ay(self): 21 | val = self._attr.get('ay') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_skew_y.py -> CSSSkewY.ay -> get attr') 25 | 26 | def set_ay(self, val): 27 | self._attr['ay'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_async_iterator_readable_stream.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_000000 5 | class AsyncIterator_ReadableStream: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("next", "fn_next", 0, 0, 1, 0, 1, 0, 0), 16 | ("return", "fn_return", 0, 0, 1, 0, 1, 0, 0), 17 | 18 | ) 19 | 20 | def fn_next(self, *args): 21 | logger.debug(f'patch -> v8_async_iterator_readable_stream.py -> AsyncIterator_ReadableStream.next{tuple(args)} -> method') 22 | 23 | def fn_return(self, *args): 24 | logger.debug(f'patch -> v8_async_iterator_readable_stream.py -> AsyncIterator_ReadableStream.return{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_audio_destination_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_100001 6 | class AudioDestinationNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(AudioDestinationNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("maxChannelCount", "get_maxChannelCount", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_maxChannelCount(self): 21 | val = self._attr.get('maxChannelCount') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_audio_destination_node.py -> AudioDestinationNode.maxChannelCount -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_barcode_detector.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_110001 5 | class BarcodeDetector: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("detect", "fn_detect", 1, 0, 1, 0, 1, 0, 0), 16 | ("getSupportedFormats", "fn_getSupportedFormats", 0, 0, 2, 0, 1, 1, 0), 17 | 18 | ) 19 | 20 | def fn_detect(self, *args): 21 | logger.debug(f'patch -> v8_barcode_detector.py -> BarcodeDetector.detect{tuple(args)} -> method') 22 | 23 | @classmethod 24 | def fn_getSupportedFormats(cls, *args): 25 | logger.debug(f'patch -> v8_barcode_detector.py -> BarcodeDetector.getSupportedFormats{tuple(args)} -> method') 26 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_external.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | 3 | 4 | @construct_100001 5 | class External: 6 | def __str__(self): 7 | return f'[object {self.__class__.__name__}]' 8 | 9 | def __init__(self, *args, **kw): 10 | self._attr = dict(kw) 11 | 12 | __v8_method__ = ( 13 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 14 | # cross_origin_check, SideEffectType) 15 | ("AddSearchProvider", "fn_AddSearchProvider", 0, 0, 1, 0, 0, 0, 0), 16 | ("IsSearchProviderInstalled", "fn_IsSearchProviderInstalled", 0, 0, 1, 0, 0, 0, 0), 17 | 18 | ) 19 | 20 | def fn_AddSearchProvider(self, *args): 21 | logger.debug(f'patch -> v8_external.py -> External.AddSearchProvider{tuple(args)} -> method') 22 | 23 | def fn_IsSearchProviderInstalled(self, *args): 24 | logger.debug(f'patch -> v8_external.py -> External.IsSearchProviderInstalled{tuple(args)} -> method') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_br_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLBRElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLBRElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("clear", "get_clear", "set_clear", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_clear(self): 21 | val = self._attr.get('clear') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_html_br_element.py -> HTMLBRElement.clear -> get attr') 25 | 26 | def set_clear(self, val): 27 | self._attr['clear'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xr_webgl_depth_information.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_xr_depth_information import XRDepthInformation 3 | 4 | 5 | @construct_100001 6 | class XRWebGLDepthInformation(XRDepthInformation): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XRWebGLDepthInformation, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("texture", "get_texture", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_texture(self): 21 | val = self._attr.get('texture') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_xr_webgl_depth_information.py -> XRWebGLDepthInformation.texture -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_div_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLDivElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLDivElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("align", "get_align", "set_align", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_align(self): 21 | val = self._attr.get('align') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_html_div_element.py -> HTMLDivElement.align -> get attr') 25 | 26 | def set_align(self, val): 27 | self._attr['align'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_pre_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLPreElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLPreElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("width", "get_width", "set_width", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_width(self): 21 | val = self._attr.get('width') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_html_pre_element.py -> HTMLPreElement.width -> get attr') 25 | 26 | def set_width(self, val): 27 | self._attr['width'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_stream_audio_destination_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_111001 6 | class MediaStreamAudioDestinationNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(MediaStreamAudioDestinationNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("stream", "get_stream", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_stream(self): 21 | val = self._attr.get('stream') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_media_stream_audio_destination_node.py -> MediaStreamAudioDestinationNode.stream -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_stream_audio_source_node.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_audio_node import AudioNode 3 | 4 | 5 | @construct_112001 6 | class MediaStreamAudioSourceNode(AudioNode): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(MediaStreamAudioSourceNode, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("mediaStream", "get_mediaStream", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_mediaStream(self): 21 | val = self._attr.get('mediaStream') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_media_stream_audio_source_node.py -> MediaStreamAudioSourceNode.mediaStream -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_media_stream_track_generator.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_media_stream_track import MediaStreamTrack 3 | 4 | 5 | @construct_111001 6 | class MediaStreamTrackGenerator(MediaStreamTrack): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(MediaStreamTrackGenerator, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("writable", "get_writable", None, 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_writable(self): 21 | val = self._attr.get('writable') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_media_stream_track_generator.py -> MediaStreamTrackGenerator.writable -> get attr') 25 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_xml_document.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_document import Document 3 | 4 | 5 | @construct_100001 6 | class XMLDocument(Document): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(XMLDocument, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("location", "get_location", "set_location", 0, 0, 4, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_location(self): 21 | val = self._attr.get('location') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_xml_document.py -> XMLDocument.location -> get attr') 25 | 26 | def set_location(self, val): 27 | self._attr['location'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_css_media_rule.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_css_condition_rule import CSSConditionRule 3 | 4 | 5 | @construct_100001 6 | class CSSMediaRule(CSSConditionRule): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(CSSMediaRule, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("media", "get_media", "set_media", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_media(self): 21 | val = self._attr.get('media') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_css_media_rule.py -> CSSMediaRule.media -> get attr') 25 | 26 | def set_media(self, val): 27 | self._attr['media'] = val 28 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_file_entry_sync.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_entry_sync import EntrySync 3 | 4 | 5 | @construct_000000 6 | class FileEntrySync(EntrySync): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(FileEntrySync, self).__init__(*args, **kw) 12 | 13 | __v8_method__ = ( 14 | # (name, cb, length, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # cross_origin_check, SideEffectType) 16 | ("createWriter", "fn_createWriter", 0, 0, 1, 0, 0, 0, 0), 17 | ("file", "fn_file", 0, 0, 1, 0, 0, 0, 0), 18 | 19 | ) 20 | 21 | def fn_createWriter(self, *args): 22 | logger.debug(f'patch -> v8_file_entry_sync.py -> FileEntrySync.createWriter{tuple(args)} -> method') 23 | 24 | def fn_file(self, *args): 25 | logger.debug(f'patch -> v8_file_entry_sync.py -> FileEntrySync.file{tuple(args)} -> method') 26 | -------------------------------------------------------------------------------- /pyv8env/env/chrome/v8_html_data_element.py: -------------------------------------------------------------------------------- 1 | from .flags import * 2 | from .v8_html_element import HTMLElement 3 | 4 | 5 | @construct_110001 6 | class HTMLDataElement(HTMLElement): 7 | def __str__(self): 8 | return f'[object {self.__class__.__name__}]' 9 | 10 | def __init__(self, *args, **kw): 11 | super(HTMLDataElement, self).__init__(*args, **kw) 12 | 13 | __v8_attribute__ = ( 14 | # (attr_name, get_cb, set_cb, CallbackType, FlagLocation, V8Attribute, FlagReceiverCheck, 15 | # FlagCrossOriginCheck, FlagCrossOriginCheck, SideEffectType) 16 | ("value", "get_value", "set_value", 0, 1, 0, 0, 0, 0, 1), 17 | 18 | ) 19 | 20 | def get_value(self): 21 | val = self._attr.get('value') 22 | if val is not None: 23 | return val 24 | logger.debug(f'patch -> v8_html_data_element.py -> HTMLDataElement.value -> get attr') 25 | 26 | def set_value(self, val): 27 | self._attr['value'] = val 28 | --------------------------------------------------------------------------------