W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

[Bug 16608] New: Algorithms should rethrow the exception

From: <bugzilla@jessica.w3.org>
Date: Tue, 03 Apr 2012 10:34:52 +0000
To: www-dom@w3.org
Message-ID: <bug-16608-4009@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16608

           Summary: Algorithms should rethrow the exception
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Parsing and Serialization
        AssignedTo: Ms2ger@gmail.com
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


"If this threw an exception, then terminate these steps."

Both the innerHTML setter algorithm and the fragment parsing algorithm have
this step.

This means that setting innerHTML will silently do nothing if the XML fragment
parsing algorithm throws. The fragment parsing algorithm should rethrow, and
the innerHTML setter should rethrow.

(The produce an XML serialization algorithm says "If this threw an exception,
allow that exception to propagate out from this algorithm" which seems fine.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 3 April 2012 10:34:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT