From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/web/api/url/revokeobjecturl/index.html | 68 +++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 files/ko/web/api/url/revokeobjecturl/index.html (limited to 'files/ko/web/api/url/revokeobjecturl/index.html') diff --git a/files/ko/web/api/url/revokeobjecturl/index.html b/files/ko/web/api/url/revokeobjecturl/index.html new file mode 100644 index 0000000000..7faa5e8bcc --- /dev/null +++ b/files/ko/web/api/url/revokeobjecturl/index.html @@ -0,0 +1,68 @@ +--- +title: URL.revokeObjectURL() +slug: Web/API/URL/revokeObjectURL +tags: + - API + - Method + - URL + - URL API +translation_of: Web/API/URL/revokeObjectURL +--- +
{{ApiRef("URL API")}}
+ +

URL.revokeObjectURL() 정적 메서드는 이전에 {{domxref("URL.createObjectURL()") }}을 통해 생성한 객체 URL을 해제합니다. 객체 URL을 더는 쓸 일이 없을 때 사용해서, 브라우저가 이제 해당 객체를 메모리에 들고 있지 않아도 된다고 알려주세요.

+ +

{{AvailableInWorkers}}

+ +
+

참고: 이 기능은 {{domxref("Blob")}} 인터페이스의 생명 주기 문제와 잠재적인 메모리 누수 가능성으로 인해 Service Worker에서 사용할 수 없습니다.

+
+ +

구문

+ +
URL.revokeObjectURL(objectURL)
+
+ +

매개변수

+ +
+
objectURL
+
{{domxref("URL.createObjectURL", "createObjectURL()") }}을 통해 생성한 객체 URL을 나타내는 {{domxref("DOMString")}}.
+
+ + + +

예제

+ +

객체 URL을 사용하여 이미지 표시하기를 보세요.

+ +

명세

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('File API', '#dfn-revokeObjectURL', 'revokeObjectURL()')}}{{Spec2('File API')}}Initial definition
+ +

브라우저 호환성

+ + + +

{{Compat("api.URL.revokeObjectURL")}}

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf