This repository has been archived by the owner on Jul 18, 2018. It is now read-only.
forked from ChromiumWebApps/chromium
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bindings: Remove support for exception interfaces.
They were removed from the WebIDL spec in 2014 ("Removed IDL exceptions, baked in DOMException, and added Error and DOMException as types"): whatwg/webidl@50e172e Support for exception interfaces was implemented by treating them like WebIDL interfaces and setting |is_exception| in IdlException (which inherited from IdlInterface). Since DOMException was the only exception interface we had in the tree, we can just turn it into a proper interface, check for its name when we need to set |is_exception| and remove all the lexer/parser/bindings scaffolding we had. V8DOMException.{cpp,h} generated after the new DOMException.idl have been verified to be identical to their previous version. There is work upstream to make DOMException a proper interface (see whatwg/webidl#378). This change can go in regardless of the upstream pull request upstream takes, as exception interfaces have been dead and gone for years. Bug: 617899, 737497 Change-Id: Iea16c7da733180cd61b14471d0758d5dd68158dc Reviewed-on: https://chromium-review.googlesource.com/558088 Reviewed-by: Kenichi Ishibashi <[email protected]> Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Raphael Kubo da Costa (rakuco) <[email protected]> Cr-Commit-Position: refs/heads/master@{#483921}
- Loading branch information
Raphael Kubo da Costa
authored and
Commit Bot
committed
Jul 2, 2017
1 parent
829f2e0
commit 0680af0
Showing
12 changed files
with
13 additions
and
552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
third_party/WebKit/Source/bindings/tests/idls/core/TestException.idl
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.