Skip to content

Implement "browsing context names" concept. #14453

Closed

Activity

  1. changed the title [-]Implement named browsing contexts.[/-] [+]Implement "browsing context names" concept.[/+] on Dec 3, 2016
  2. added
    A-content/dom
    on Dec 3, 2016
  3. added a commit that references this issue on Dec 4, 2016
  4. jdm commented on Feb 6, 2018

    @jdm
    Member

    @paavininanda This would be a useful feature to add support for. There are a few parts to it that can be done separately:

    • add the basic support for getting and setting Window.name
      • update Window.webidl to uncomment the name attribute
      • store a string member in components/script/dom/windowproxy.rs
      • have Window::GetName and Window::SetName interact with the window proxy
    • support HTMLIFrameElement.name
      • uncomment the attribute from HTMLIFrameElement.webidl
      • have the getter and setter interact with the window proxy for the window inside the iframe
    • notify the constellation whenever a window's name is updated
      • when setting from the iframe, send a message to the child window to ensure it receives the new name
      • when setting from the window, send a message to the parent iframe to ensure it receives the new name
  5. paavininanda commented on Feb 11, 2018

    @paavininanda
    Contributor

    @jdm I would like to take up this issue.
    Now for the SetName function, do i need to check any validity for U+005F LOW LINE characters ? Because I could't find any example where window.name="something" would throw an error in Chrome.

  6. jdm commented on Feb 11, 2018

    @jdm
    Member

    No. There are no checks anywhere whether the name matches the restrictions of a valid browsing context name.

  7. added
    C-assigned
    on Feb 11, 2018
  8. added 2 commits that reference this issue on Feb 22, 2018
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

    A-content/domC-assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions