mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 20:07:30 +09:00
[DOM] Stop exposing NotifyPaintEvent to web content.
There's no reason this should be available to the web, as it's an indicator of browser internals.
This commit is contained in:
parent
7cc9551e79
commit
b9e7ecd8bc
4 changed files with 21 additions and 9 deletions
|
|
@ -715,8 +715,6 @@ var interfaceNamesInGlobalScope =
|
|||
"NodeList",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Notification",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"NotifyPaintEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{name: "OffscreenCanvas", disabled: true},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
|
|
|||
|
|
@ -6,13 +6,18 @@
|
|||
* For more information about this interface see nsIDOMNotifyPaintEvent.idl
|
||||
*/
|
||||
|
||||
[ChromeOnly]
|
||||
interface NotifyPaintEvent : Event
|
||||
{
|
||||
[ChromeOnly]
|
||||
readonly attribute DOMRectList clientRects;
|
||||
|
||||
[ChromeOnly]
|
||||
readonly attribute DOMRect boundingClientRect;
|
||||
|
||||
[ChromeOnly]
|
||||
readonly attribute PaintRequestList paintRequests;
|
||||
|
||||
[ChromeOnly]
|
||||
readonly attribute unsigned long long transactionId;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue