Skip to content

Commit

Permalink
Update interfaces/scroll-to-text-fragment.idl and test (#25242)
Browse files Browse the repository at this point in the history
* Update interfaces/scroll-to-text-fragment.idl

Note: This file was recently manually updated in commit cd5f4df.
      This commit may revert some of those changes.

Source: https://github.com/tidoust/reffy-reports/blob/21d7c4a/ed/idl/scroll-to-text-fragment.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/721189151

* Update scroll-to-text-fragment/idlharness.window.js

Co-authored-by: autofoolip <auto@foolip.org>
  • Loading branch information
foolip and autofoolip committed Aug 31, 2020
1 parent 8cadc1a commit d0e0bec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion interfaces/scroll-to-text-fragment.idl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
interface FragmentDirective {
};

partial interface Location {
partial interface Document {
[SameObject] readonly attribute FragmentDirective fragmentDirective;
};
6 changes: 3 additions & 3 deletions scroll-to-text-fragment/idlharness.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

idl_test(
['scroll-to-text-fragment'],
['html'],
['dom', 'html'],
idl_array => {
idl_array.add_objects({
Location: ['document.location'],
FragmentDirective: ['document.location.fragmentDirective'],
Document: ['document'],
FragmentDirective: ['document.fragmentDirective'],
});
}
);

0 comments on commit d0e0bec

Please sign in to comment.