Skip to content

Split the /resources/ in 3: resources for the libservo, resources for the binary, resources for testing. #17097

Open

Description

@paulrouget

This issue is part of an effort to improve Servo's embedding story. See https://github.com/paulrouget/servoshell/projects/2

From the embedder perspective, there's a lot of files in /resources/ that are not necessary. Like servo.icns or self_signed_certificate_for_testing.crt.

We might want to include the libservo-related resources into the library (see #15635), so we need to make sure to include only the necessary files.

Activity

  1. paulrouget commented on May 30, 2017

    @paulrouget
    ContributorAuthor
    go to resources/lib/
    
    badcert.html
    badcert.jpg
    certs
    gatt_blocklist.txt
    hsts_preload.json
    neterror.html
    prefs.json
    presentational-hints.css
    public_domains.txt
    quirks-mode.css
    rippy.png
    servo.css
    user-agent.css
    
    go to resources/package/
    
    Credits.rtf.mako
    Servo.ico
    android_params
    package-prefs.json
    servo.icns
    servo.png
    
    go to resources/test/
    
    ahem/
    ahem.css
    failure.html
    privatekey_for_testing.key
    quotes.css
    self_signed_certificate_for_testing.crt
    
    No sure what these are for:
    
    cert-google-only
    iso-8859-8.css
    itried.jpg
    not-found.html
    tumbeast.png
    user-agent-js/
    
  2. Manishearth commented on May 30, 2017

    @Manishearth
    Member

    cert-google-only is for local testing. Could be in etc too.

    itried.jpg is the error page. Needs to be in the binary. Same for notfound and tumbeast.

    The iso thing is for

    user-agent-js/ is custom userscripts. We don't define anything there by default, and probably won't, so it can go wherever. Probably script/dom/userscripts.rs should be able to be configured by the embedder.

  3. paulrouget commented on May 30, 2017

    @paulrouget
    ContributorAuthor

    itried.jpg is the error page.

    Where is it used? I can't find any reference to that file in components/

    The iso thing is for

    Missing the end of your sentence I think.

  4. cbrewster commented on May 30, 2017

    @cbrewster
    Contributor

    itried.jpg is used in badcert.html and failure.html

    failure.html should probably be in lib as it is used for about:failure

  5. paulrouget commented on Jul 4, 2017

    @paulrouget
    ContributorAuthor

    Actually thinking of moving package stuff under support/, test files under test/resources and keep the rest in resources/

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions