[Bug 16608] New: Algorithms should rethrow the exception

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 the QA contact for the bug.

Received on Tuesday, 3 April 2012 10:34:59 UTC