The default bug view has changed. See this FAQ.

Remove support for building without ECMAScript Internationalization API

NEW
Unassigned

Status

()

Core
JavaScript Engine
4 years ago
2 months ago

People

(Reporter: Norbert Lindenberg, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

4 years ago
When the ECMAScript Internationalization API is enabled in all main Mozilla products, the ability to build SpiderMonkey without support for ECMA-402 should be removed.

Steps:
- Remove all definitions for --enable-intl-api from mozconfig files.
- Remove the tests for the --enable-intl-api flag from configure.in and js/src/configure.in files, and update the files as if it was always set.
- Remove the tests for the ENABLE_INTL_API variable from js/src/configure.in and js/src/Makefile.in, and update the files as if it was always set.
- Remove the tests for the ENABLE_INTL_API flag from .h and .cpp files in js/src, and remove code that depends on it being undefined or 0.
- Change the return type of InitRuntimeNumberState as indicated by a comment in jsnum.cpp.
- Remove the localeCompare member from JSLocaleCallbacks in jsapi.h, and the code setting it and the Compare function from js/xpconnect/src/XPCLocale.cpp.
- Remove the skip-if(!this.hasOwnProperty("Intl")) conditions from js/src/tests/jstests.list and the tests within js/src/tests/Intl.
(Assignee)

Updated

3 years ago
Assignee: general → nobody
Blocks: 943283
Depends on: 1215247
Depends on: 1215252
Duplicate of this bug: 1338013
You need to log in before you can comment on or make changes to this bug.