Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

implement proper error handling for attempts to mutate an unloaded style #6121

Closed

Description

@jfirebaugh

#5753 is is lenient about the case where the style is mutated between when the loading of a style URL is requested and when it completes. GL JS throws in this case, and native should prohibit it as well.

Since this is a somewhat common developer error, we need to be particularly careful that whatever error core emits is properly translated into SDK-appropriate errors.

Activity

  1. added
    iOS
    Android
    on Aug 23, 2016
  2. 1ec5 commented on Aug 23, 2016

    @1ec5
    Contributor

    #3063 might be a model for surfacing this error as an Objective-C exception in the iOS and macOS SDKs.

  3. jfirebaugh commented on Oct 24, 2017

    @jfirebaugh
    ContributorAuthor

    This is no longer relevant after smart style diffing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidiOSruntime styling

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions