hepheir / Python-HTML-Parser

🔥 beautifulsoup으로는 만족못해서 만들어보는 Python3.9 버전의 html 파싱기
MIT License
2 stars 0 forks source link

Implement `DOMException` #21

Closed hepheir closed 3 years ago

hepheir commented 3 years ago

IDL Definition

exception DOMException {
  unsigned short   code;
};

// ExceptionCode
const unsigned short      INDEX_SIZE_ERR     = 1;
const unsigned short      DOMSTRING_SIZE_ERR = 2;
const unsigned short      HIERARCHY_REQUEST_ERR = 3;
const unsigned short      WRONG_DOCUMENT_ERR = 4;
const unsigned short      INVALID_CHARACTER_ERR = 5;
const unsigned short      NO_DATA_ALLOWED_ERR = 6;
const unsigned short      NO_MODIFICATION_ALLOWED_ERR = 7;
const unsigned short      NOT_FOUND_ERR      = 8;
const unsigned short      NOT_SUPPORTED_ERR  = 9;
const unsigned short      INUSE_ATTRIBUTE_ERR = 10;
hepheir commented 3 years ago

스펙에 명시된 DOMException.code가 존재하지 않음.

올바르게 구현 할 것.