Title: [206131] trunk
Revision
206131
Author
cdu...@apple.com
Date
2016-09-19 16:45:24 -0700 (Mon, 19 Sep 2016)

Log Message

Align HTMLAppletElement with the specification
https://bugs.webkit.org/show_bug.cgi?id=162240

Reviewed by Alex Christensen.

LayoutTests/imported/w3c:

Rebaseline W3C test now that all checks are passing.

* web-platform-tests/html/dom/reflection-obsolete-expected.txt:

Source/WebCore:

Align HTMLAppletElement with the specification:
- https://html.spec.whatwg.org/#htmlappletelement

In particular:
- space / vspace should be of type "unsigned long", not DOMString
- codeBase and object should reflect as URLs

Firefox agree with the specification. Chrome does not have
HTMLAppletElement anymore.

No new tests, rebaselined existing test.

* html/HTMLAppletElement.cpp:
(WebCore::HTMLAppletElement::isURLAttribute):
* html/HTMLAppletElement.h:
* html/HTMLAppletElement.idl:

LayoutTests:

Drop outdated tests. Update existing tests to reflect behavior change.

* dom/html/level2/html/HTMLAppletElement11-expected.txt: Removed.
* dom/html/level2/html/HTMLAppletElement11.html: Removed.
* dom/html/level2/html/HTMLAppletElement11.js: Removed.
* dom/xhtml/level2/html/HTMLAppletElement11-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLAppletElement11.js: Removed.
* dom/xhtml/level2/html/HTMLAppletElement11.xhtml: Removed.
* fast/dom/element-attribute-js-null-expected.txt:
* fast/dom/element-attribute-js-null.html:

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (206130 => 206131)


--- trunk/LayoutTests/ChangeLog	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/ChangeLog	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,3 +1,21 @@
+2016-09-19  Chris Dumez  <cdu...@apple.com>
+
+        Align HTMLAppletElement with the specification
+        https://bugs.webkit.org/show_bug.cgi?id=162240
+
+        Reviewed by Alex Christensen.
+
+        Drop outdated tests. Update existing tests to reflect behavior change.
+
+        * dom/html/level2/html/HTMLAppletElement11-expected.txt: Removed.
+        * dom/html/level2/html/HTMLAppletElement11.html: Removed.
+        * dom/html/level2/html/HTMLAppletElement11.js: Removed.
+        * dom/xhtml/level2/html/HTMLAppletElement11-expected.txt: Removed.
+        * dom/xhtml/level2/html/HTMLAppletElement11.js: Removed.
+        * dom/xhtml/level2/html/HTMLAppletElement11.xhtml: Removed.
+        * fast/dom/element-attribute-js-null-expected.txt:
+        * fast/dom/element-attribute-js-null.html:
+
 2016-09-19  Devin Rousso  <dcrousso+web...@gmail.com>
 
         Web Inspector: adopt Object.awaitEvent in LayoutTests/http/tests/inspector

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05-expected.txt (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,2 +0,0 @@
-Test:	http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement05
-Status:	Success

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.html (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.html	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.html	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,12 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - Applet</TITLE>
-<script type='text/_javascript_' src=''></script><script charset='UTF-8' type='text/_javascript_' src=''></script><script type='text/_javascript_'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY _onload_="loadComplete()">
-<P>
-<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" CODE="org/w3c/domts/DOMTSApplet.class" CODEBASE="" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET>
-</P>
-</BODY>
-</HTML>

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.js (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.js	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement05.js	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,113 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement05";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "applet");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-    	catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The codeBase attribute specifies an optional base URI for the applet.
-
-    Retrieve the codeBase attribute and examine its value.  
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6581160
-*/
-function HTMLAppletElement05() {
-   var success;
-    if(checkInitialization(builder, "HTMLAppletElement05") != null) return;
-    var nodeList;
-      var testNode;
-      var vcodebase;
-      var doc;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "applet");
-      nodeList = doc.getElementsByTagName("applet");
-      assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
-      vcodebase = testNode.codeBase;
-
-      assertEquals("codebase","applets",vcodebase);
-       
-}
-
-
-
-
-function runTest() {
-   HTMLAppletElement05();
-}

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11-expected.txt (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,2 +0,0 @@
-Test:	http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement11
-Status:	Success

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.html (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.html	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.html	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,12 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - Applet</TITLE>
-<script type='text/_javascript_' src=''></script><script charset='UTF-8' type='text/_javascript_' src=''></script><script type='text/_javascript_'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY _onload_="loadComplete()">
-<P>
-<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" OBJECT="DOMTSApplet.dat" CODEBASE="" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET>
-</P>
-</BODY>
-</HTML>

Deleted: trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.js (206130 => 206131)


--- trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.js	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/html/level2/html/HTMLAppletElement11.js	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,114 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement11";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "applet2");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-    	catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The object attribute specifies the serialized applet file.
-
-    Retrieve the object attribute and examine its value.  
-
-* @author NIST
-* @author Rick Rivello
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93681523
-*/
-function HTMLAppletElement11() {
-   var success;
-    if(checkInitialization(builder, "HTMLAppletElement11") != null) return;
-    var nodeList;
-      var testNode;
-      var vobject;
-      var doc;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "applet2");
-      nodeList = doc.getElementsByTagName("applet");
-      assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
-      vobject = testNode.object;
-
-      assertEquals("object","DOMTSApplet.dat",vobject);
-       
-}
-
-
-
-
-function runTest() {
-   HTMLAppletElement11();
-}

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05-expected.txt (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,2 +0,0 @@
-Test	http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement05
-Status	Success

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.js (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.js	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.js	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,113 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement05";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "applet");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-    	catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The codeBase attribute specifies an optional base URI for the applet.
-
-    Retrieve the codeBase attribute and examine its value.  
-
-* @author NIST
-* @author Mary Brady
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-6581160
-*/
-function HTMLAppletElement05() {
-   var success;
-    if(checkInitialization(builder, "HTMLAppletElement05") != null) return;
-    var nodeList;
-      var testNode;
-      var vcodebase;
-      var doc;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "applet");
-      nodeList = doc.getElementsByTagName("applet");
-      assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
-      vcodebase = testNode.codeBase;
-
-      assertEquals("codebase","applets",vcodebase);
-       
-}
-
-
-
-
-function runTest() {
-   HTMLAppletElement05();
-}

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.xhtml (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.xhtml	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement05.xhtml	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-   "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - Applet</title>
-<script type='text/_javascript_' src=''></script><script charset='UTF-8' type='text/_javascript_' src=''></script><script type='text/_javascript_'>function loadComplete() { startTest(); }</script></head>
-<body _onload_="loadComplete()">
-<p>
-<applet align="bottom" alt="Applet Number 1" archive="" code="org/w3c/domts/DOMTSApplet.class" codebase="" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
-</p>
-</body>
-</html>
-

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11-expected.txt (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,2 +0,0 @@
-Test	http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement11
-Status	Success

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.js (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.js	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.js	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,114 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium, 
-(Massachusetts Institute of Technology, European Research Consortium 
-for Informatics and Mathematics, Keio University). All 
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the 
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
-   /**
-    *  Gets URI that identifies the test.
-    *  @return uri identifier of test
-    */
-function getTargetURI() {
-      return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLAppletElement11";
-   }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-//   This function is called by the testing framework before
-//      running the test suite.
-//
-//   If there are no configuration exceptions, asynchronous
-//        document loading is started.  Otherwise, the status
-//        is set to complete and the exception is immediately
-//        raised when entering the body of the test.
-//
-function setUpPage() {
-   setUpPageStatus = 'running';
-   try {
-     //
-     //   creates test document builder, may throw exception
-     //
-     builder = createConfiguredBuilder();
-
-      docsLoaded = 0;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      docsLoaded += preload(docRef, "doc", "applet2");
-        
-       if (docsLoaded == 1) {
-          setUpPageStatus = 'complete';
-       }
-    } catch(ex) {
-    	catchInitializationError(builder, ex);
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-
-//
-//   This method is called on the completion of 
-//      each asychronous load started in setUpTests.
-//
-//   When every synchronous loaded document has completed,
-//      the page status is changed which allows the
-//      body of the test to be executed.
-function loadComplete() {
-    if (++docsLoaded == 1) {
-        setUpPageStatus = 'complete';
-    }
-}
-
-
-/**
-* 
-    The object attribute specifies the serialized applet file.
-
-    Retrieve the object attribute and examine its value.  
-
-* @author NIST
-* @author Rick Rivello
-* @author Curt Arnold
-* @see http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-93681523
-*/
-function HTMLAppletElement11() {
-   var success;
-    if(checkInitialization(builder, "HTMLAppletElement11") != null) return;
-    var nodeList;
-      var testNode;
-      var vobject;
-      var doc;
-      
-      var docRef = null;
-      if (typeof(this.doc) != 'undefined') {
-        docRef = this.doc;
-      }
-      doc = load(docRef, "doc", "applet2");
-      nodeList = doc.getElementsByTagName("applet");
-      assertSize("Asize",1,nodeList);
-testNode = nodeList.item(0);
-      vobject = testNode.object;
-
-      assertEquals("object","DOMTSApplet.dat",vobject);
-       
-}
-
-
-
-
-function runTest() {
-   HTMLAppletElement11();
-}

Deleted: trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.xhtml (206130 => 206131)


--- trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.xhtml	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/dom/xhtml/level2/html/HTMLAppletElement11.xhtml	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
-   PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-   "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - Applet</title>
-<script type='text/_javascript_' src=''></script><script charset='UTF-8' type='text/_javascript_' src=''></script><script type='text/_javascript_'>function loadComplete() { startTest(); }</script></head>
-<body _onload_="loadComplete()">
-<p>
-<applet align="bottom" alt="Applet Number 1" archive="" object="DOMTSApplet.dat" codebase="" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
-</p>
-</body>
-</html>
-

Modified: trunk/LayoutTests/fast/dom/element-attribute-js-null-expected.txt (206130 => 206131)


--- trunk/LayoutTests/fast/dom/element-attribute-js-null-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/fast/dom/element-attribute-js-null-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -28,12 +28,10 @@
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.alt]
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.archive]
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.code]
-TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.codeBase]
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.height]
-TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.hspace]
+TEST SUCCEEDED: The value was the string '0'. [tested HTMLAppletElement.hspace]
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.name]
-TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.object]
-TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.vspace]
+TEST SUCCEEDED: The value was the string '0'. [tested HTMLAppletElement.vspace]
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAppletElement.width]
 
 TEST SUCCEEDED: The value was the string 'null'. [tested HTMLAreaElement.accessKey]

Modified: trunk/LayoutTests/fast/dom/element-attribute-js-null.html (206130 => 206131)


--- trunk/LayoutTests/fast/dom/element-attribute-js-null.html	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/fast/dom/element-attribute-js-null.html	2016-09-19 23:45:24 UTC (rev 206131)
@@ -116,12 +116,10 @@
                         {name: 'alt', expectedNull: 'null'},
                         {name: 'archive', expectedNull: 'null'},
                         {name: 'code', expectedNull: 'null'},
-                        {name: 'codeBase', expectedNull: 'null'},
                         {name: 'height', expectedNull: 'null'},
-                        {name: 'hspace', expectedNull: 'null'},
+                        {name: 'hspace', expectedNull: 0},
                         {name: 'name', expectedNull: 'null'},
-                        {name: 'object', expectedNull: 'null'},
-                        {name: 'vspace', expectedNull: 'null'},
+                        {name: 'vspace', expectedNull: 0},
                         {name: 'width', expectedNull: 'null'}
                     ]
                 },

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (206130 => 206131)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,3 +1,14 @@
+2016-09-19  Chris Dumez  <cdu...@apple.com>
+
+        Align HTMLAppletElement with the specification
+        https://bugs.webkit.org/show_bug.cgi?id=162240
+
+        Reviewed by Alex Christensen.
+
+        Rebaseline W3C test now that all checks are passing.
+
+        * web-platform-tests/html/dom/reflection-obsolete-expected.txt:
+
 2016-09-19  Jer Noble  <jer.no...@apple.com>
 
         Unreviewed gardening; update LayoutTests/media-source to the most recent version (5a011ca).

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt (206130 => 206131)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-obsolete-expected.txt	2016-09-19 23:45:24 UTC (rev 206131)
@@ -903,95 +903,95 @@
 PASS applet.codeBase: typeof IDL attribute 
 PASS applet.codeBase: IDL get with DOM attribute unset 
 PASS applet.codeBase: setAttribute() to "" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS applet.codeBase: setAttribute() to "" followed by IDL get 
 PASS applet.codeBase: setAttribute() to " foo " followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS applet.codeBase: setAttribute() to " foo " followed by IDL get 
 PASS applet.codeBase: setAttribute() to "http://site.example/" followed by getAttribute() 
 PASS applet.codeBase: setAttribute() to "http://site.example/" followed by IDL get 
 PASS applet.codeBase: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS applet.codeBase: setAttribute() to "//site.example/path???@#l" followed by IDL get 
 PASS applet.codeBase: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f "
+PASS applet.codeBase: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get 
 PASS applet.codeBase: setAttribute() to undefined followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS applet.codeBase: setAttribute() to undefined followed by IDL get 
 PASS applet.codeBase: setAttribute() to 7 followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS applet.codeBase: setAttribute() to 7 followed by IDL get 
 PASS applet.codeBase: setAttribute() to 1.5 followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS applet.codeBase: setAttribute() to 1.5 followed by IDL get 
 PASS applet.codeBase: setAttribute() to true followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS applet.codeBase: setAttribute() to true followed by IDL get 
 PASS applet.codeBase: setAttribute() to false followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS applet.codeBase: setAttribute() to false followed by IDL get 
 PASS applet.codeBase: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS applet.codeBase: setAttribute() to object "[object Object]" followed by IDL get 
 PASS applet.codeBase: setAttribute() to NaN followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS applet.codeBase: setAttribute() to NaN followed by IDL get 
 PASS applet.codeBase: setAttribute() to Infinity followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS applet.codeBase: setAttribute() to Infinity followed by IDL get 
 PASS applet.codeBase: setAttribute() to -Infinity followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS applet.codeBase: setAttribute() to -Infinity followed by IDL get 
 PASS applet.codeBase: setAttribute() to "\0" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS applet.codeBase: setAttribute() to "\0" followed by IDL get 
 PASS applet.codeBase: setAttribute() to null followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS applet.codeBase: setAttribute() to null followed by IDL get 
 PASS applet.codeBase: setAttribute() to object "test-toString" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS applet.codeBase: setAttribute() to object "test-toString" followed by IDL get 
 PASS applet.codeBase: setAttribute() to object "test-valueOf" followed by getAttribute() 
-FAIL applet.codeBase: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS applet.codeBase: setAttribute() to object "test-valueOf" followed by IDL get 
 PASS applet.codeBase: IDL set to "" should not throw 
 PASS applet.codeBase: IDL set to "" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS applet.codeBase: IDL set to "" followed by IDL get 
 PASS applet.codeBase: IDL set to " foo " should not throw 
 PASS applet.codeBase: IDL set to " foo " followed by getAttribute() 
-FAIL applet.codeBase: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS applet.codeBase: IDL set to " foo " followed by IDL get 
 PASS applet.codeBase: IDL set to "http://site.example/" should not throw 
 PASS applet.codeBase: IDL set to "http://site.example/" followed by getAttribute() 
 PASS applet.codeBase: IDL set to "http://site.example/" followed by IDL get 
 PASS applet.codeBase: IDL set to "//site.example/path???@#l" should not throw 
 PASS applet.codeBase: IDL set to "//site.example/path???@#l" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS applet.codeBase: IDL set to "//site.example/path???@#l" followed by IDL get 
 PASS applet.codeBase: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " should not throw 
 PASS applet.codeBase: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by getAttribute() 
-FAIL applet.codeBase: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f "
+PASS applet.codeBase: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get 
 PASS applet.codeBase: IDL set to undefined should not throw 
 PASS applet.codeBase: IDL set to undefined followed by getAttribute() 
-FAIL applet.codeBase: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS applet.codeBase: IDL set to undefined followed by IDL get 
 PASS applet.codeBase: IDL set to 7 should not throw 
 PASS applet.codeBase: IDL set to 7 followed by getAttribute() 
-FAIL applet.codeBase: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS applet.codeBase: IDL set to 7 followed by IDL get 
 PASS applet.codeBase: IDL set to 1.5 should not throw 
 PASS applet.codeBase: IDL set to 1.5 followed by getAttribute() 
-FAIL applet.codeBase: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS applet.codeBase: IDL set to 1.5 followed by IDL get 
 PASS applet.codeBase: IDL set to true should not throw 
 PASS applet.codeBase: IDL set to true followed by getAttribute() 
-FAIL applet.codeBase: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS applet.codeBase: IDL set to true followed by IDL get 
 PASS applet.codeBase: IDL set to false should not throw 
 PASS applet.codeBase: IDL set to false followed by getAttribute() 
-FAIL applet.codeBase: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS applet.codeBase: IDL set to false followed by IDL get 
 PASS applet.codeBase: IDL set to object "[object Object]" should not throw 
 PASS applet.codeBase: IDL set to object "[object Object]" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS applet.codeBase: IDL set to object "[object Object]" followed by IDL get 
 PASS applet.codeBase: IDL set to NaN should not throw 
 PASS applet.codeBase: IDL set to NaN followed by getAttribute() 
-FAIL applet.codeBase: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS applet.codeBase: IDL set to NaN followed by IDL get 
 PASS applet.codeBase: IDL set to Infinity should not throw 
 PASS applet.codeBase: IDL set to Infinity followed by getAttribute() 
-FAIL applet.codeBase: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS applet.codeBase: IDL set to Infinity followed by IDL get 
 PASS applet.codeBase: IDL set to -Infinity should not throw 
 PASS applet.codeBase: IDL set to -Infinity followed by getAttribute() 
-FAIL applet.codeBase: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS applet.codeBase: IDL set to -Infinity followed by IDL get 
 PASS applet.codeBase: IDL set to "\0" should not throw 
 PASS applet.codeBase: IDL set to "\0" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS applet.codeBase: IDL set to "\0" followed by IDL get 
 PASS applet.codeBase: IDL set to null should not throw 
 PASS applet.codeBase: IDL set to null followed by getAttribute() 
-FAIL applet.codeBase: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS applet.codeBase: IDL set to null followed by IDL get 
 PASS applet.codeBase: IDL set to object "test-toString" should not throw 
 PASS applet.codeBase: IDL set to object "test-toString" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS applet.codeBase: IDL set to object "test-toString" followed by IDL get 
 PASS applet.codeBase: IDL set to object "test-valueOf" should not throw 
 PASS applet.codeBase: IDL set to object "test-valueOf" followed by getAttribute() 
-FAIL applet.codeBase: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS applet.codeBase: IDL set to object "test-valueOf" followed by IDL get 
 PASS applet.height: typeof IDL attribute 
 PASS applet.height: IDL get with DOM attribute unset 
 PASS applet.height: setAttribute() to "" followed by getAttribute() 
@@ -1069,135 +1069,135 @@
 PASS applet.height: IDL set to object "test-valueOf" should not throw 
 PASS applet.height: IDL set to object "test-valueOf" followed by getAttribute() 
 PASS applet.height: IDL set to object "test-valueOf" followed by IDL get 
-FAIL applet.hspace: typeof IDL attribute assert_equals: expected "number" but got "string"
-FAIL applet.hspace: IDL get with DOM attribute unset assert_equals: expected (number) 0 but got (string) ""
+PASS applet.hspace: typeof IDL attribute 
+PASS applet.hspace: IDL get with DOM attribute unset 
 PASS applet.hspace: setAttribute() to -2147483649 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to -2147483649 followed by IDL get assert_equals: expected (number) 0 but got (string) "-2147483649"
+PASS applet.hspace: setAttribute() to -2147483649 followed by IDL get 
 PASS applet.hspace: setAttribute() to -2147483648 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to -2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "-2147483648"
+PASS applet.hspace: setAttribute() to -2147483648 followed by IDL get 
 PASS applet.hspace: setAttribute() to -36 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to -36 followed by IDL get assert_equals: expected (number) 0 but got (string) "-36"
+PASS applet.hspace: setAttribute() to -36 followed by IDL get 
 PASS applet.hspace: setAttribute() to -1 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to -1 followed by IDL get assert_equals: expected (number) 0 but got (string) "-1"
+PASS applet.hspace: setAttribute() to -1 followed by IDL get 
 PASS applet.hspace: setAttribute() to 0 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 0 followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.hspace: setAttribute() to 0 followed by IDL get 
 PASS applet.hspace: setAttribute() to 1 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 1 followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.hspace: setAttribute() to 1 followed by IDL get 
 PASS applet.hspace: setAttribute() to 257 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 257 followed by IDL get assert_equals: expected (number) 257 but got (string) "257"
+PASS applet.hspace: setAttribute() to 257 followed by IDL get 
 PASS applet.hspace: setAttribute() to 2147483647 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 2147483647 followed by IDL get assert_equals: expected (number) 2147483647 but got (string) "2147483647"
+PASS applet.hspace: setAttribute() to 2147483647 followed by IDL get 
 PASS applet.hspace: setAttribute() to 2147483648 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "2147483648"
+PASS applet.hspace: setAttribute() to 2147483648 followed by IDL get 
 PASS applet.hspace: setAttribute() to 4294967295 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 4294967295 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967295"
+PASS applet.hspace: setAttribute() to 4294967295 followed by IDL get 
 PASS applet.hspace: setAttribute() to 4294967296 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 4294967296 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967296"
+PASS applet.hspace: setAttribute() to 4294967296 followed by IDL get 
 PASS applet.hspace: setAttribute() to "" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "" followed by IDL get assert_equals: expected (number) 0 but got (string) ""
+PASS applet.hspace: setAttribute() to "" followed by IDL get 
 PASS applet.hspace: setAttribute() to "-1" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "-1" followed by IDL get assert_equals: expected (number) 0 but got (string) "-1"
+PASS applet.hspace: setAttribute() to "-1" followed by IDL get 
 PASS applet.hspace: setAttribute() to "-0" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "-0" followed by IDL get assert_equals: expected (number) 0 but got (string) "-0"
+PASS applet.hspace: setAttribute() to "-0" followed by IDL get 
 PASS applet.hspace: setAttribute() to "0" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "0" followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.hspace: setAttribute() to "0" followed by IDL get 
 PASS applet.hspace: setAttribute() to "1" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "1" followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.hspace: setAttribute() to "1" followed by IDL get 
 PASS applet.hspace: setAttribute() to "\t7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\t7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\t7"
+PASS applet.hspace: setAttribute() to "\t7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "\v7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\v7" followed by IDL get assert_equals: expected (number) 0 but got (string) "\v7"
+PASS applet.hspace: setAttribute() to "\v7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "\f7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\f7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\f7"
+PASS applet.hspace: setAttribute() to "\f7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 7 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "7" followed by IDL get assert_equals: expected (number) 0 but got (string) "7"
+PASS applet.hspace: setAttribute() to "7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "\n7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\n7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\n7"
+PASS applet.hspace: setAttribute() to "\n7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "\r7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\r7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\r7"
+PASS applet.hspace: setAttribute() to "\r7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "
7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "
7" followed by IDL get assert_equals: expected (number) 0 but got (string) "
7"
+PASS applet.hspace: setAttribute() to "
7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "
7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "
7" followed by IDL get assert_equals: expected (number) 0 but got (string) "
7"
+PASS applet.hspace: setAttribute() to "
7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to "᠎7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "᠎7" followed by IDL get assert_equals: expected (number) 0 but got (string) "᠎7"
+PASS applet.hspace: setAttribute() to "᠎7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.hspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.hspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by IDL get assert_equals: expected (number) 0 but got (string) " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
+PASS applet.hspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by IDL get 
 PASS applet.hspace: setAttribute() to undefined followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to undefined followed by IDL get assert_equals: expected (number) 0 but got (string) "undefined"
+PASS applet.hspace: setAttribute() to undefined followed by IDL get 
 PASS applet.hspace: setAttribute() to 1.5 followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to 1.5 followed by IDL get assert_equals: expected (number) 1 but got (string) "1.5"
+PASS applet.hspace: setAttribute() to 1.5 followed by IDL get 
 PASS applet.hspace: setAttribute() to true followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to true followed by IDL get assert_equals: expected (number) 0 but got (string) "true"
+PASS applet.hspace: setAttribute() to true followed by IDL get 
 PASS applet.hspace: setAttribute() to false followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to false followed by IDL get assert_equals: expected (number) 0 but got (string) "false"
+PASS applet.hspace: setAttribute() to false followed by IDL get 
 PASS applet.hspace: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (number) 0 but got (string) "[object Object]"
+PASS applet.hspace: setAttribute() to object "[object Object]" followed by IDL get 
 PASS applet.hspace: setAttribute() to NaN followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to NaN followed by IDL get assert_equals: expected (number) 0 but got (string) "NaN"
+PASS applet.hspace: setAttribute() to NaN followed by IDL get 
 PASS applet.hspace: setAttribute() to Infinity followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to Infinity followed by IDL get assert_equals: expected (number) 0 but got (string) "Infinity"
+PASS applet.hspace: setAttribute() to Infinity followed by IDL get 
 PASS applet.hspace: setAttribute() to -Infinity followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to -Infinity followed by IDL get assert_equals: expected (number) 0 but got (string) "-Infinity"
+PASS applet.hspace: setAttribute() to -Infinity followed by IDL get 
 PASS applet.hspace: setAttribute() to "\0" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to "\0" followed by IDL get assert_equals: expected (number) 0 but got (string) "\0"
+PASS applet.hspace: setAttribute() to "\0" followed by IDL get 
 PASS applet.hspace: setAttribute() to object "2" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to object "2" followed by IDL get assert_equals: expected (number) 2 but got (string) "2"
+PASS applet.hspace: setAttribute() to object "2" followed by IDL get 
 PASS applet.hspace: setAttribute() to object "3" followed by getAttribute() 
-FAIL applet.hspace: setAttribute() to object "3" followed by IDL get assert_equals: expected (number) 0 but got (string) "[object Object]"
+PASS applet.hspace: setAttribute() to object "3" followed by IDL get 
 PASS applet.hspace: IDL set to 0 should not throw 
 PASS applet.hspace: IDL set to 0 followed by getAttribute() 
-FAIL applet.hspace: IDL set to 0 followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.hspace: IDL set to 0 followed by IDL get 
 PASS applet.hspace: IDL set to 1 should not throw 
 PASS applet.hspace: IDL set to 1 followed by getAttribute() 
-FAIL applet.hspace: IDL set to 1 followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.hspace: IDL set to 1 followed by IDL get 
 PASS applet.hspace: IDL set to 257 should not throw 
 PASS applet.hspace: IDL set to 257 followed by getAttribute() 
-FAIL applet.hspace: IDL set to 257 followed by IDL get assert_equals: expected (number) 257 but got (string) "257"
+PASS applet.hspace: IDL set to 257 followed by IDL get 
 PASS applet.hspace: IDL set to 2147483647 should not throw 
 PASS applet.hspace: IDL set to 2147483647 followed by getAttribute() 
-FAIL applet.hspace: IDL set to 2147483647 followed by IDL get assert_equals: expected (number) 2147483647 but got (string) "2147483647"
+PASS applet.hspace: IDL set to 2147483647 followed by IDL get 
 PASS applet.hspace: IDL set to "-0" should not throw 
-FAIL applet.hspace: IDL set to "-0" followed by getAttribute() assert_equals: expected "0" but got "-0"
-FAIL applet.hspace: IDL set to "-0" followed by IDL get assert_equals: expected (number) 0 but got (string) "-0"
+PASS applet.hspace: IDL set to "-0" followed by getAttribute() 
+PASS applet.hspace: IDL set to "-0" followed by IDL get 
 PASS applet.hspace: IDL set to 2147483648 should not throw 
-FAIL applet.hspace: IDL set to 2147483648 followed by getAttribute() assert_equals: expected "0" but got "2147483648"
-FAIL applet.hspace: IDL set to 2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "2147483648"
+PASS applet.hspace: IDL set to 2147483648 followed by getAttribute() 
+PASS applet.hspace: IDL set to 2147483648 followed by IDL get 
 PASS applet.hspace: IDL set to 4294967295 should not throw 
-FAIL applet.hspace: IDL set to 4294967295 followed by getAttribute() assert_equals: expected "0" but got "4294967295"
-FAIL applet.hspace: IDL set to 4294967295 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967295"
+PASS applet.hspace: IDL set to 4294967295 followed by getAttribute() 
+PASS applet.hspace: IDL set to 4294967295 followed by IDL get 
 PASS applet.name: typeof IDL attribute 
 PASS applet.name: IDL get with DOM attribute unset 
 PASS applet.name: setAttribute() to "" followed by getAttribute() 
@@ -1278,224 +1278,224 @@
 PASS applet.object: typeof IDL attribute 
 PASS applet.object: IDL get with DOM attribute unset 
 PASS applet.object: setAttribute() to "" followed by getAttribute() 
-FAIL applet.object: setAttribute() to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS applet.object: setAttribute() to "" followed by IDL get 
 PASS applet.object: setAttribute() to " foo " followed by getAttribute() 
-FAIL applet.object: setAttribute() to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS applet.object: setAttribute() to " foo " followed by IDL get 
 PASS applet.object: setAttribute() to "http://site.example/" followed by getAttribute() 
 PASS applet.object: setAttribute() to "http://site.example/" followed by IDL get 
 PASS applet.object: setAttribute() to "//site.example/path???@#l" followed by getAttribute() 
-FAIL applet.object: setAttribute() to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS applet.object: setAttribute() to "//site.example/path???@#l" followed by IDL get 
 PASS applet.object: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by getAttribute() 
-FAIL applet.object: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f "
+PASS applet.object: setAttribute() to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get 
 PASS applet.object: setAttribute() to undefined followed by getAttribute() 
-FAIL applet.object: setAttribute() to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS applet.object: setAttribute() to undefined followed by IDL get 
 PASS applet.object: setAttribute() to 7 followed by getAttribute() 
-FAIL applet.object: setAttribute() to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS applet.object: setAttribute() to 7 followed by IDL get 
 PASS applet.object: setAttribute() to 1.5 followed by getAttribute() 
-FAIL applet.object: setAttribute() to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS applet.object: setAttribute() to 1.5 followed by IDL get 
 PASS applet.object: setAttribute() to true followed by getAttribute() 
-FAIL applet.object: setAttribute() to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS applet.object: setAttribute() to true followed by IDL get 
 PASS applet.object: setAttribute() to false followed by getAttribute() 
-FAIL applet.object: setAttribute() to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS applet.object: setAttribute() to false followed by IDL get 
 PASS applet.object: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL applet.object: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS applet.object: setAttribute() to object "[object Object]" followed by IDL get 
 PASS applet.object: setAttribute() to NaN followed by getAttribute() 
-FAIL applet.object: setAttribute() to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS applet.object: setAttribute() to NaN followed by IDL get 
 PASS applet.object: setAttribute() to Infinity followed by getAttribute() 
-FAIL applet.object: setAttribute() to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS applet.object: setAttribute() to Infinity followed by IDL get 
 PASS applet.object: setAttribute() to -Infinity followed by getAttribute() 
-FAIL applet.object: setAttribute() to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS applet.object: setAttribute() to -Infinity followed by IDL get 
 PASS applet.object: setAttribute() to "\0" followed by getAttribute() 
-FAIL applet.object: setAttribute() to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS applet.object: setAttribute() to "\0" followed by IDL get 
 PASS applet.object: setAttribute() to null followed by getAttribute() 
-FAIL applet.object: setAttribute() to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS applet.object: setAttribute() to null followed by IDL get 
 PASS applet.object: setAttribute() to object "test-toString" followed by getAttribute() 
-FAIL applet.object: setAttribute() to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS applet.object: setAttribute() to object "test-toString" followed by IDL get 
 PASS applet.object: setAttribute() to object "test-valueOf" followed by getAttribute() 
-FAIL applet.object: setAttribute() to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
+PASS applet.object: setAttribute() to object "test-valueOf" followed by IDL get 
 PASS applet.object: IDL set to "" should not throw 
 PASS applet.object: IDL set to "" followed by getAttribute() 
-FAIL applet.object: IDL set to "" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got ""
+PASS applet.object: IDL set to "" followed by IDL get 
 PASS applet.object: IDL set to " foo " should not throw 
 PASS applet.object: IDL set to " foo " followed by getAttribute() 
-FAIL applet.object: IDL set to " foo " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/foo" but got " foo "
+PASS applet.object: IDL set to " foo " followed by IDL get 
 PASS applet.object: IDL set to "http://site.example/" should not throw 
 PASS applet.object: IDL set to "http://site.example/" followed by getAttribute() 
 PASS applet.object: IDL set to "http://site.example/" followed by IDL get 
 PASS applet.object: IDL set to "//site.example/path???@#l" should not throw 
 PASS applet.object: IDL set to "//site.example/path???@#l" followed by getAttribute() 
-FAIL applet.object: IDL set to "//site.example/path???@#l" followed by IDL get assert_equals: expected "http://site.example/path???@#l" but got "//site.example/path???@#l"
+PASS applet.object: IDL set to "//site.example/path???@#l" followed by IDL get 
 PASS applet.object: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " should not throw 
 PASS applet.object: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by getAttribute() 
-FAIL applet.object: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f "
+PASS applet.object: IDL set to "\0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f " followed by IDL get 
 PASS applet.object: IDL set to undefined should not throw 
 PASS applet.object: IDL set to undefined followed by getAttribute() 
-FAIL applet.object: IDL set to undefined followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/undefined" but got "undefined"
+PASS applet.object: IDL set to undefined followed by IDL get 
 PASS applet.object: IDL set to 7 should not throw 
 PASS applet.object: IDL set to 7 followed by getAttribute() 
-FAIL applet.object: IDL set to 7 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/7" but got "7"
+PASS applet.object: IDL set to 7 followed by IDL get 
 PASS applet.object: IDL set to 1.5 should not throw 
 PASS applet.object: IDL set to 1.5 followed by getAttribute() 
-FAIL applet.object: IDL set to 1.5 followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/1.5" but got "1.5"
+PASS applet.object: IDL set to 1.5 followed by IDL get 
 PASS applet.object: IDL set to true should not throw 
 PASS applet.object: IDL set to true followed by getAttribute() 
-FAIL applet.object: IDL set to true followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/true" but got "true"
+PASS applet.object: IDL set to true followed by IDL get 
 PASS applet.object: IDL set to false should not throw 
 PASS applet.object: IDL set to false followed by getAttribute() 
-FAIL applet.object: IDL set to false followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/false" but got "false"
+PASS applet.object: IDL set to false followed by IDL get 
 PASS applet.object: IDL set to object "[object Object]" should not throw 
 PASS applet.object: IDL set to object "[object Object]" followed by getAttribute() 
-FAIL applet.object: IDL set to object "[object Object]" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/[object%20Object]" but got "[object Object]"
+PASS applet.object: IDL set to object "[object Object]" followed by IDL get 
 PASS applet.object: IDL set to NaN should not throw 
 PASS applet.object: IDL set to NaN followed by getAttribute() 
-FAIL applet.object: IDL set to NaN followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/NaN" but got "NaN"
+PASS applet.object: IDL set to NaN followed by IDL get 
 PASS applet.object: IDL set to Infinity should not throw 
 PASS applet.object: IDL set to Infinity followed by getAttribute() 
-FAIL applet.object: IDL set to Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/Infinity" but got "Infinity"
+PASS applet.object: IDL set to Infinity followed by IDL get 
 PASS applet.object: IDL set to -Infinity should not throw 
 PASS applet.object: IDL set to -Infinity followed by getAttribute() 
-FAIL applet.object: IDL set to -Infinity followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/-Infinity" but got "-Infinity"
+PASS applet.object: IDL set to -Infinity followed by IDL get 
 PASS applet.object: IDL set to "\0" should not throw 
 PASS applet.object: IDL set to "\0" followed by getAttribute() 
-FAIL applet.object: IDL set to "\0" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/reflection-obsolete.html" but got "\0"
+PASS applet.object: IDL set to "\0" followed by IDL get 
 PASS applet.object: IDL set to null should not throw 
 PASS applet.object: IDL set to null followed by getAttribute() 
-FAIL applet.object: IDL set to null followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/null" but got "null"
+PASS applet.object: IDL set to null followed by IDL get 
 PASS applet.object: IDL set to object "test-toString" should not throw 
 PASS applet.object: IDL set to object "test-toString" followed by getAttribute() 
-FAIL applet.object: IDL set to object "test-toString" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-toString" but got "test-toString"
+PASS applet.object: IDL set to object "test-toString" followed by IDL get 
 PASS applet.object: IDL set to object "test-valueOf" should not throw 
 PASS applet.object: IDL set to object "test-valueOf" followed by getAttribute() 
-FAIL applet.object: IDL set to object "test-valueOf" followed by IDL get assert_equals: expected "http://localhost:8800/html/dom/test-valueOf" but got "test-valueOf"
-FAIL applet.vspace: typeof IDL attribute assert_equals: expected "number" but got "string"
-FAIL applet.vspace: IDL get with DOM attribute unset assert_equals: expected (number) 0 but got (string) ""
+PASS applet.object: IDL set to object "test-valueOf" followed by IDL get 
+PASS applet.vspace: typeof IDL attribute 
+PASS applet.vspace: IDL get with DOM attribute unset 
 PASS applet.vspace: setAttribute() to -2147483649 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to -2147483649 followed by IDL get assert_equals: expected (number) 0 but got (string) "-2147483649"
+PASS applet.vspace: setAttribute() to -2147483649 followed by IDL get 
 PASS applet.vspace: setAttribute() to -2147483648 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to -2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "-2147483648"
+PASS applet.vspace: setAttribute() to -2147483648 followed by IDL get 
 PASS applet.vspace: setAttribute() to -36 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to -36 followed by IDL get assert_equals: expected (number) 0 but got (string) "-36"
+PASS applet.vspace: setAttribute() to -36 followed by IDL get 
 PASS applet.vspace: setAttribute() to -1 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to -1 followed by IDL get assert_equals: expected (number) 0 but got (string) "-1"
+PASS applet.vspace: setAttribute() to -1 followed by IDL get 
 PASS applet.vspace: setAttribute() to 0 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 0 followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.vspace: setAttribute() to 0 followed by IDL get 
 PASS applet.vspace: setAttribute() to 1 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 1 followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.vspace: setAttribute() to 1 followed by IDL get 
 PASS applet.vspace: setAttribute() to 257 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 257 followed by IDL get assert_equals: expected (number) 257 but got (string) "257"
+PASS applet.vspace: setAttribute() to 257 followed by IDL get 
 PASS applet.vspace: setAttribute() to 2147483647 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 2147483647 followed by IDL get assert_equals: expected (number) 2147483647 but got (string) "2147483647"
+PASS applet.vspace: setAttribute() to 2147483647 followed by IDL get 
 PASS applet.vspace: setAttribute() to 2147483648 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "2147483648"
+PASS applet.vspace: setAttribute() to 2147483648 followed by IDL get 
 PASS applet.vspace: setAttribute() to 4294967295 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 4294967295 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967295"
+PASS applet.vspace: setAttribute() to 4294967295 followed by IDL get 
 PASS applet.vspace: setAttribute() to 4294967296 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 4294967296 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967296"
+PASS applet.vspace: setAttribute() to 4294967296 followed by IDL get 
 PASS applet.vspace: setAttribute() to "" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "" followed by IDL get assert_equals: expected (number) 0 but got (string) ""
+PASS applet.vspace: setAttribute() to "" followed by IDL get 
 PASS applet.vspace: setAttribute() to "-1" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "-1" followed by IDL get assert_equals: expected (number) 0 but got (string) "-1"
+PASS applet.vspace: setAttribute() to "-1" followed by IDL get 
 PASS applet.vspace: setAttribute() to "-0" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "-0" followed by IDL get assert_equals: expected (number) 0 but got (string) "-0"
+PASS applet.vspace: setAttribute() to "-0" followed by IDL get 
 PASS applet.vspace: setAttribute() to "0" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "0" followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.vspace: setAttribute() to "0" followed by IDL get 
 PASS applet.vspace: setAttribute() to "1" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "1" followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.vspace: setAttribute() to "1" followed by IDL get 
 PASS applet.vspace: setAttribute() to "\t7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\t7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\t7"
+PASS applet.vspace: setAttribute() to "\t7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "\v7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\v7" followed by IDL get assert_equals: expected (number) 0 but got (string) "\v7"
+PASS applet.vspace: setAttribute() to "\v7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "\f7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\f7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\f7"
+PASS applet.vspace: setAttribute() to "\f7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 7 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "7" followed by IDL get assert_equals: expected (number) 0 but got (string) "7"
+PASS applet.vspace: setAttribute() to "7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "\n7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\n7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\n7"
+PASS applet.vspace: setAttribute() to "\n7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "\r7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\r7" followed by IDL get assert_equals: expected (number) 7 but got (string) "\r7"
+PASS applet.vspace: setAttribute() to "\r7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "
7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "
7" followed by IDL get assert_equals: expected (number) 0 but got (string) "
7"
+PASS applet.vspace: setAttribute() to "
7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "
7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "
7" followed by IDL get assert_equals: expected (number) 0 but got (string) "
7"
+PASS applet.vspace: setAttribute() to "
7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to "᠎7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "᠎7" followed by IDL get assert_equals: expected (number) 0 but got (string) "᠎7"
+PASS applet.vspace: setAttribute() to "᠎7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " 7" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " 7" followed by IDL get assert_equals: expected (number) 0 but got (string) " 7"
+PASS applet.vspace: setAttribute() to " 7" followed by IDL get 
 PASS applet.vspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by IDL get assert_equals: expected (number) 0 but got (string) " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo "
+PASS applet.vspace: setAttribute() to " \0\x01\x02\x03\x04\x05\x06\x07 \b\t\n\v\f\r\x0e\x0f \x10\x11\x12\x13\x14\x15\x16\x17 \x18\x19\x1a\x1b\x1c\x1d\x1e\x1f  foo " followed by IDL get 
 PASS applet.vspace: setAttribute() to undefined followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to undefined followed by IDL get assert_equals: expected (number) 0 but got (string) "undefined"
+PASS applet.vspace: setAttribute() to undefined followed by IDL get 
 PASS applet.vspace: setAttribute() to 1.5 followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to 1.5 followed by IDL get assert_equals: expected (number) 1 but got (string) "1.5"
+PASS applet.vspace: setAttribute() to 1.5 followed by IDL get 
 PASS applet.vspace: setAttribute() to true followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to true followed by IDL get assert_equals: expected (number) 0 but got (string) "true"
+PASS applet.vspace: setAttribute() to true followed by IDL get 
 PASS applet.vspace: setAttribute() to false followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to false followed by IDL get assert_equals: expected (number) 0 but got (string) "false"
+PASS applet.vspace: setAttribute() to false followed by IDL get 
 PASS applet.vspace: setAttribute() to object "[object Object]" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to object "[object Object]" followed by IDL get assert_equals: expected (number) 0 but got (string) "[object Object]"
+PASS applet.vspace: setAttribute() to object "[object Object]" followed by IDL get 
 PASS applet.vspace: setAttribute() to NaN followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to NaN followed by IDL get assert_equals: expected (number) 0 but got (string) "NaN"
+PASS applet.vspace: setAttribute() to NaN followed by IDL get 
 PASS applet.vspace: setAttribute() to Infinity followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to Infinity followed by IDL get assert_equals: expected (number) 0 but got (string) "Infinity"
+PASS applet.vspace: setAttribute() to Infinity followed by IDL get 
 PASS applet.vspace: setAttribute() to -Infinity followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to -Infinity followed by IDL get assert_equals: expected (number) 0 but got (string) "-Infinity"
+PASS applet.vspace: setAttribute() to -Infinity followed by IDL get 
 PASS applet.vspace: setAttribute() to "\0" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to "\0" followed by IDL get assert_equals: expected (number) 0 but got (string) "\0"
+PASS applet.vspace: setAttribute() to "\0" followed by IDL get 
 PASS applet.vspace: setAttribute() to object "2" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to object "2" followed by IDL get assert_equals: expected (number) 2 but got (string) "2"
+PASS applet.vspace: setAttribute() to object "2" followed by IDL get 
 PASS applet.vspace: setAttribute() to object "3" followed by getAttribute() 
-FAIL applet.vspace: setAttribute() to object "3" followed by IDL get assert_equals: expected (number) 0 but got (string) "[object Object]"
+PASS applet.vspace: setAttribute() to object "3" followed by IDL get 
 PASS applet.vspace: IDL set to 0 should not throw 
 PASS applet.vspace: IDL set to 0 followed by getAttribute() 
-FAIL applet.vspace: IDL set to 0 followed by IDL get assert_equals: expected (number) 0 but got (string) "0"
+PASS applet.vspace: IDL set to 0 followed by IDL get 
 PASS applet.vspace: IDL set to 1 should not throw 
 PASS applet.vspace: IDL set to 1 followed by getAttribute() 
-FAIL applet.vspace: IDL set to 1 followed by IDL get assert_equals: expected (number) 1 but got (string) "1"
+PASS applet.vspace: IDL set to 1 followed by IDL get 
 PASS applet.vspace: IDL set to 257 should not throw 
 PASS applet.vspace: IDL set to 257 followed by getAttribute() 
-FAIL applet.vspace: IDL set to 257 followed by IDL get assert_equals: expected (number) 257 but got (string) "257"
+PASS applet.vspace: IDL set to 257 followed by IDL get 
 PASS applet.vspace: IDL set to 2147483647 should not throw 
 PASS applet.vspace: IDL set to 2147483647 followed by getAttribute() 
-FAIL applet.vspace: IDL set to 2147483647 followed by IDL get assert_equals: expected (number) 2147483647 but got (string) "2147483647"
+PASS applet.vspace: IDL set to 2147483647 followed by IDL get 
 PASS applet.vspace: IDL set to "-0" should not throw 
-FAIL applet.vspace: IDL set to "-0" followed by getAttribute() assert_equals: expected "0" but got "-0"
-FAIL applet.vspace: IDL set to "-0" followed by IDL get assert_equals: expected (number) 0 but got (string) "-0"
+PASS applet.vspace: IDL set to "-0" followed by getAttribute() 
+PASS applet.vspace: IDL set to "-0" followed by IDL get 
 PASS applet.vspace: IDL set to 2147483648 should not throw 
-FAIL applet.vspace: IDL set to 2147483648 followed by getAttribute() assert_equals: expected "0" but got "2147483648"
-FAIL applet.vspace: IDL set to 2147483648 followed by IDL get assert_equals: expected (number) 0 but got (string) "2147483648"
+PASS applet.vspace: IDL set to 2147483648 followed by getAttribute() 
+PASS applet.vspace: IDL set to 2147483648 followed by IDL get 
 PASS applet.vspace: IDL set to 4294967295 should not throw 
-FAIL applet.vspace: IDL set to 4294967295 followed by getAttribute() assert_equals: expected "0" but got "4294967295"
-FAIL applet.vspace: IDL set to 4294967295 followed by IDL get assert_equals: expected (number) 0 but got (string) "4294967295"
+PASS applet.vspace: IDL set to 4294967295 followed by getAttribute() 
+PASS applet.vspace: IDL set to 4294967295 followed by IDL get 
 PASS applet.width: typeof IDL attribute 
 PASS applet.width: IDL get with DOM attribute unset 
 PASS applet.width: setAttribute() to "" followed by getAttribute() 

Modified: trunk/LayoutTests/platform/wk2/TestExpectations (206130 => 206131)


--- trunk/LayoutTests/platform/wk2/TestExpectations	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/LayoutTests/platform/wk2/TestExpectations	2016-09-19 23:45:24 UTC (rev 206131)
@@ -328,7 +328,6 @@
 dom/html/level2/html/HTMLAppletElement02.html
 dom/html/level2/html/HTMLAppletElement03.html
 dom/html/level2/html/HTMLAppletElement04.html
-dom/html/level2/html/HTMLAppletElement05.html
 dom/html/level2/html/HTMLAppletElement06.html
 dom/html/level2/html/HTMLAppletElement07.html
 dom/html/level2/html/HTMLAppletElement08.html
@@ -338,7 +337,6 @@
 dom/xhtml/level2/html/HTMLAppletElement02.xhtml
 dom/xhtml/level2/html/HTMLAppletElement03.xhtml
 dom/xhtml/level2/html/HTMLAppletElement04.xhtml
-dom/xhtml/level2/html/HTMLAppletElement05.xhtml
 dom/xhtml/level2/html/HTMLAppletElement06.xhtml
 dom/xhtml/level2/html/HTMLAppletElement07.xhtml
 dom/xhtml/level2/html/HTMLAppletElement08.xhtml

Modified: trunk/Source/WebCore/ChangeLog (206130 => 206131)


--- trunk/Source/WebCore/ChangeLog	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/Source/WebCore/ChangeLog	2016-09-19 23:45:24 UTC (rev 206131)
@@ -1,3 +1,27 @@
+2016-09-19  Chris Dumez  <cdu...@apple.com>
+
+        Align HTMLAppletElement with the specification
+        https://bugs.webkit.org/show_bug.cgi?id=162240
+
+        Reviewed by Alex Christensen.
+
+        Align HTMLAppletElement with the specification:
+        - https://html.spec.whatwg.org/#htmlappletelement
+
+        In particular:
+        - space / vspace should be of type "unsigned long", not DOMString
+        - codeBase and object should reflect as URLs
+
+        Firefox agree with the specification. Chrome does not have
+        HTMLAppletElement anymore.
+
+        No new tests, rebaselined existing test.
+
+        * html/HTMLAppletElement.cpp:
+        (WebCore::HTMLAppletElement::isURLAttribute):
+        * html/HTMLAppletElement.h:
+        * html/HTMLAppletElement.idl:
+
 2016-09-16  Jer Noble  <jer.no...@apple.com>
 
         [media-source] Fix imported/w3c/web-platform-tests/media-source/mediasource-avtracks.html

Modified: trunk/Source/WebCore/html/HTMLAppletElement.cpp (206130 => 206131)


--- trunk/Source/WebCore/html/HTMLAppletElement.cpp	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/Source/WebCore/html/HTMLAppletElement.cpp	2016-09-19 23:45:24 UTC (rev 206131)
@@ -68,6 +68,13 @@
     HTMLPlugInImageElement::parseAttribute(name, value);
 }
 
+bool HTMLAppletElement::isURLAttribute(const Attribute& attribute) const
+{
+    return attribute.name().localName() == codebaseAttr
+        || attribute.name().localName() == objectAttr
+        || HTMLPlugInImageElement::isURLAttribute(attribute);
+}
+
 bool HTMLAppletElement::rendererIsNeeded(const RenderStyle& style)
 {
     if (!hasAttributeWithoutSynchronization(codeAttr))

Modified: trunk/Source/WebCore/html/HTMLAppletElement.h (206130 => 206131)


--- trunk/Source/WebCore/html/HTMLAppletElement.h	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/Source/WebCore/html/HTMLAppletElement.h	2016-09-19 23:45:24 UTC (rev 206131)
@@ -35,6 +35,7 @@
     HTMLAppletElement(const QualifiedName&, Document&, bool createdByParser);
 
     void parseAttribute(const QualifiedName&, const AtomicString&) final;
+    bool isURLAttribute(const Attribute&) const final;
     
     bool rendererIsNeeded(const RenderStyle&) final;
     RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final;

Modified: trunk/Source/WebCore/html/HTMLAppletElement.idl (206130 => 206131)


--- trunk/Source/WebCore/html/HTMLAppletElement.idl	2016-09-19 23:36:26 UTC (rev 206130)
+++ trunk/Source/WebCore/html/HTMLAppletElement.idl	2016-09-19 23:45:24 UTC (rev 206131)
@@ -27,11 +27,11 @@
     [Reflect] attribute DOMString alt;
     [Reflect] attribute DOMString archive;
     [Reflect] attribute DOMString code;
-    [Reflect] attribute USVString codeBase;
+    [Reflect, URL] attribute USVString codeBase;
     [Reflect] attribute DOMString height;
-    [Reflect] attribute DOMString hspace;
+    [Reflect] attribute unsigned long hspace;
     [Reflect] attribute DOMString name;
-    [Reflect] attribute USVString object;
-    [Reflect] attribute DOMString vspace;
+    [Reflect, URL] attribute USVString object;
+    [Reflect] attribute unsigned long vspace;
     [Reflect] attribute DOMString width;
 };
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to