Skip to content
  • Erik Nordin's avatar
    Bug 1613746 - Implement Replace() Functionality r=emilio · b837c381
    Erik Nordin authored
    - Enable StyleSheet to resolve/reject a promise from Replace()
    - Implement the StyleSheet::Replace() method.
    - Remove use of `alternate` in WPTs, because it will soon be gone.
    - Ensure that WPT test cases which modify document's style clean up after themselves.
    - Modify WPT @import test cases to handle unhandled cases on promises.
    - Modify WPT test case for failed imports to correctly check `NetworkError` as per the spec, rather than `NotAllowedError`.
    
    Differential Revision: https://phabricator.services.mozilla.com/D62524
    
    --HG--
    extra : moz-landing-system : lando
    b837c381