blob: 0776298c95c3f033b5f48fd57a153600cd59de85 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://html.spec.whatwg.org/C/webappapis.html#event-handler-attributes
// This definition is different from standard in order to handle special types
// (OnErrorEventHandler, OnBeforeUnloadEventHandler) in the same type with
// regular EventHandler.
[TreatNonObjectAsNull]
callback EventHandlerNonNull = any (any... args);