1 38 package com.gargoylesoftware.htmlunit.javascript.host; 39 40 import com.gargoylesoftware.htmlunit.javascript.SimpleScriptable; 41 42 49 public class History extends SimpleScriptable { 50 51 private static final long serialVersionUID = -285158453206844475L; 52 53 54 57 public History() {} 58 59 60 64 public int jsxGet_length() { 65 getLog().debug("javascript: history.length not implemented yet - returning 0"); 66 return 0; 67 } 68 69 70 73 public void jsxFunction_back() { 74 getLog().debug("javascript: history.back() not implemented yet"); 75 } 76 77 78 81 public void jsxFunction_forward() { 82 getLog().debug("javascript: history.forward() not implemented yet"); 83 } 84 85 86 90 public void jsxFunction_go( final String relativeUrl) { 91 getLog().debug("javascript: history.go(String) not implemented yet"); 92 } 93 } 94 95 | Popular Tags |