Skip to content

Update the ResizeObserver IDL file - #9756

Merged
foolip merged 13 commits into
web-platform-tests:masterfrom
lukebjerring:idl-file-updates-ResizeObserver
Jun 8, 2018
Merged

foolip merged 13 commits into
web-platform-tests:masterfrom
lukebjerring:idl-file-updates-ResizeObserver

Conversation

@lukebjerring

@lukebjerring lukebjerring commented Mar 2, 2018 •

Copy link
Copy Markdown
Contributor

No description provided.

@ghost

ghost commented Mar 2, 2018 •

Copy link
Copy Markdown

Build PASSED

Started: 2018-03-07 21:23:12
Finished: 2018-03-07 21:31:51

View more information about this build on:

@lukebjerring
lukebjerring force-pushed the idl-file-updates-ResizeObserver branch from 1c019c7 to 1a5c86b Compare March 7, 2018 20:20
Comment thread interfaces/ResizeObserver.idl Outdated
void disconnect();
};

callback ResizeObserverCallback = void (sequence<ResizeObserverEntry> entries, ResizeObserver observer)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sent WICG/resize-observer#56 to fix a missing semicolon here, will add it manually too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added manually for now.


[Constructor(Element target)
]
interface ResizeObservation {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a problem here, found existing bug: WICG/resize-observer#46

@foolip foolip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % ResizeObservation. Maybe manually exclude it, or hold off? Either WFM.

@lukebjerring
lukebjerring force-pushed the idl-file-updates-ResizeObserver branch from 761ed9e to 0fc3724 Compare April 6, 2018 14:30
@domenic
domenic removed their request for review April 20, 2018 21:11
@lukebjerring

Copy link
Copy Markdown
Contributor Author

As discussed offline, the incorrect source IDL shouldn't be tweaked as part of a semi-automated import flow, because the edge-case handling or manual work will keep repeating. We should just let the tests fail, and have bad test results as the motivation to correct the source.

@foolip foolip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, needs a test to use the IDL

@foolip foolip left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@foolip
foolip merged commit 7684fe3 into web-platform-tests:master Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants