Master's Thesis

Live Metadata for Test262

Diogo Costa Reis — 2023

Key information

Authors:

Diogo Costa Reis (Diogo Costa Reis)

Supervisors:

José Faustino Fragoso Femenin dos Santos (José Faustino Fragoso Femenin dos Santos)

Published in

June 15, 2023

Abstract

O ECMAScript standard especifica a linguagem JavaScript, que é muito popular em todo o mundo. Implementar esse padrão apresenta desafios devido à sua complexidade e escala. Para auxiliar os desenvolvedores, a Test262 oferece um conjunto abrangente de testes. No entanto, a Test262 não possui descrições estruturadas dos testes, tornando impossível filtrá-los com base nos recursos específicos do JavaScript. Essa limitação afeta especialmente as implementações parciais do standard, pois não há um mecanismo automatizado para selecionar os testes aplicáveis. Para solucionar esse problema, a METADATA262 foi desenvolvida, introduzindo um novo formato de metadados para cada teste na Test262. A METADATA262 calcula metadados para os testes da Test262 e permite filtrar os testes com base em seus respectivos metadados. Esta tese melhora a METADATA262 de duas maneiras principais. Em primeiro lugar, reestruturamos o sistema de cálculo de metadados, melhorando a precisão, a automação e introduzindo novas propriedades. Em segundo lugar, desenvolvemos uma interface web para visualizar os metadados calculados para a Test262, permitindo que os desenvolvedores de motores de JavaScript filtrem os testes com base em recursos específicos. The ECMAScript standard specifies the JavaScript language, which is highly popular worldwide. Implementing this standard poses challenges due to its complexity and scale. To aid developers, Test262 offers a comprehensive test suite. However, Test262 lacks structured test descriptions, making it impossible to filter tests by targeted JavaScript features. This limitation especially affects partial standard implementations since there is no automated mechanism to select applicable tests. To address this issue, METADATA262 was developed, introducing a new metadata format for each test in Test262. METADATA262 computes metadata for Test262 tests and enables the filtering of tests based on their respective metadata. This thesis enhances METADATA262 in two key ways. Firstly, we re-engineer the metadata computation system, improving precision, automation, and introducing new metadata properties. Secondly, we develop a web interface for visualizing the computed metadata for Test262, allowing engine developers to filter tests based on specific features.

Publication details

Authors in the community:

Supervisors of this institution:

RENATES TID

203834267

Degree Name

Mestrado em Engenharia Informática e de Computadores

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Keywords

  • ECMAScript
  • Test262
  • Metadata

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

April 5, 2024

Institution name

Instituto Superior Técnico