Skip to content

Commit 9545229

Browse files
committed
improved jdoc
1 parent c86489a commit 9545229

6 files changed

Lines changed: 7 additions & 11 deletions

File tree

src/main/java/org/htmlunit/javascript/host/Window.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public void setCurrentEvent(final Event event) {
401401
* @param replace whether to replace in the history list or no
402402
* @return the newly opened window, or {@code null} if popup windows have been disabled
403403
* @see org.htmlunit.WebClientOptions#isPopupBlockerEnabled()
404-
* @see <a href="http://msdn.microsoft.com/en-us/library/ms536651.aspx">MSDN documentation</a>
404+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/open">MDN documentation</a>
405405
*/
406406
@JsxFunction
407407
public WindowProxy open(final Object url, final Object name, final Object features,
@@ -1709,9 +1709,7 @@ public void setOuterHeight(final int height) {
17091709
/**
17101710
* Prints the current page. The current implementation uses the {@link PrintHandler}
17111711
* defined for the {@link WebClient} to process the window.
1712-
* @see <a href="http://www.mozilla.org/docs/dom/domref/dom_window_ref85.html">
1713-
* Mozilla documentation</a>
1714-
* @see <a href="http://msdn.microsoft.com/en-us/library/ms536672.aspx">MSDN documentation</a>
1712+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/print">MDN documentation</a>
17151713
*/
17161714
@JsxFunction
17171715
public void print() {

src/main/java/org/htmlunit/javascript/host/dom/Node.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ protected Element getLastElementChild() {
10421042
* Returns the child elements of this node.
10431043
*
10441044
* @return a live collection of this node's child elements
1045-
* @see <a href="http://msdn.microsoft.com/en-us/library/ms537446.aspx">MSDN documentation</a>
1045+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/ParentNode/children">MDN documentation</a>
10461046
*/
10471047
protected HTMLCollection getChildren() {
10481048
final DomNode node = getDomNodeOrDie();

src/main/java/org/htmlunit/javascript/host/dom/Selection.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
/**
3030
* A JavaScript object for {@code Selection}.
3131
*
32-
* @see <a href="http://msdn2.microsoft.com/en-us/library/ms535869.aspx">MSDN Documentation</a>
33-
* @see <a href="https://developer.mozilla.org/en/DOM/Selection">Gecko DOM Reference</a>
32+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Selection">MDN Documentation</a>
3433
* @author Ahmed Ashour
3534
* @author Daniel Gredler
3635
* @author Frank Danek

src/main/java/org/htmlunit/javascript/host/draganddrop/DataTransferItemList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public int getLength() {
7474
* @param args the arguments passed into the method
7575
* @param function the function
7676
* @return the newly-created {@link DataTransferItem} object
77-
* @see <a href="http://msdn.microsoft.com/en-us/library/ms536782.aspx">MSDN documentation</a>
77+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList/add">MDN documentation</a>
7878
*/
7979
@JsxFunction
8080
public static DataTransferItem add(final Context context, final VarScope scope,

src/main/java/org/htmlunit/javascript/host/event/PointerEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* JavaScript object representing a {@code PointerEvent}.
3535
* @see <a href="http://www.w3.org/TR/pointerevents/">W3C Spec</a>
36-
* @see <a href="http://msdn.microsoft.com/en-us/library/ie/hh772103.aspx">MSDN</a>
36+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent">MDN</a>
3737
*
3838
* @author Frank Danek
3939
* @author Ahmed Ashour

src/test/java/org/htmlunit/javascript/host/ScreenTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
* @author Daniel Gredler
2525
* @author Marc Guillemot
2626
* @author Ronald Brill
27-
* @see <a href="http://msdn.microsoft.com/en-us/library/ms535868.aspx">MSDN documentation</a>
28-
* @see <a href="http://www.mozilla.org/docs/dom/domref/dom_window_ref.html">Mozilla documentation</a>
27+
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/Screen">MDN documentation</a>
2928
*/
3029
public class ScreenTest extends WebDriverTestCase {
3130

0 commit comments

Comments
 (0)