Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Oct 16, 2024
1 parent 08de80d commit 99a9a64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public void forEach(final Object callback) {
*/
@JsxFunction
@JsxSymbol(symbolName = "iterator")
public Object entries() {
public ES6Iterator entries() {
final List<NameValuePair> splitted = splitQuery();

return new NativeParamsIterator(getParentScope(),
Expand All @@ -469,7 +469,7 @@ public Object entries() {
* @return an iterator.
*/
@JsxFunction
public Object keys() {
public ES6Iterator keys() {
final List<NameValuePair> splitted = splitQuery();

return new NativeParamsIterator(getParentScope(),
Expand All @@ -483,7 +483,7 @@ public Object keys() {
* @return an iterator.
*/
@JsxFunction
public Object values() {
public ES6Iterator values() {
final List<NameValuePair> splitted = splitQuery();

return new NativeParamsIterator(getParentScope(),
Expand Down
3 changes: 0 additions & 3 deletions src/test/java/org/htmlunit/archunit/ArchitectureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,6 @@ public boolean test(final JavaClass javaClass) {
.and().doNotHaveFullName("org.htmlunit.javascript.host.SimpleArray.item(int)")
.and().doNotHaveFullName("org.htmlunit.javascript.host.SimpleArray.namedItem(java.lang.String)")
.and().doNotHaveFullName("org.htmlunit.javascript.host.Storage.getItem(java.lang.String)")
.and().doNotHaveFullName("org.htmlunit.javascript.host.URLSearchParams.entries()")
.and().doNotHaveFullName("org.htmlunit.javascript.host.URLSearchParams.keys()")
.and().doNotHaveFullName("org.htmlunit.javascript.host.URLSearchParams.values()")
.and().doNotHaveFullName("org.htmlunit.javascript.host.Window.setInterval(org.htmlunit.corejs.javascript.Context, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.Scriptable, [Ljava.lang.Object;, org.htmlunit.corejs.javascript.Function)")
.and().doNotHaveFullName("org.htmlunit.javascript.host.Window.setTimeout(org.htmlunit.corejs.javascript.Context, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.Scriptable, [Ljava.lang.Object;, org.htmlunit.corejs.javascript.Function)")
.and().doNotHaveFullName("org.htmlunit.javascript.host.canvas.IntersectionObserver.takeRecords()")
Expand Down

0 comments on commit 99a9a64

Please sign in to comment.