Summary: | [iOS Simulator] fast/dom/event-handler-attributes.html failing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | cdumez, darin, ddkilzer, jeremyj-wk, vodrickcarter987 |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 9.0 | ||
Bug Depends on: | |||
Bug Blocks: | 152130 |
Description
Ryan Haddad
2016-02-01 13:40:08 PST
This test has been failing since it was added with <http://trac.webkit.org/changeset/195953> Jeremy, could you please advise if this is expected behavior for iOS? (In reply to comment #2) > Jeremy, could you please advise if this is expected behavior for iOS? I expect these to behave the same on iOS and MacOS. This test is passing on MacOS, so I expect it to also pass in iOS. This is testing the change to dom/GlobalEventHandlers.idl and page/DOMWindow.idl And they don't look to be platform specific. I'll continue to investigate. When IDL changes cause unexpected test failures, the first thing I try is to force a clean build to make sure everything is regenerated properly. (That should NOT be required if we had proper dependency tracking, but apparently that's not fully fixed yet.) Forced clean build on bot403: <https://build.webkit.org/builders/Apple%20iOS%209%20Simulator%20Release%20%28Build%29/builds/3272> Forced clean build on bot402: <https://build.webkit.org/builders/Apple%20iOS%209%20Simulator%20Release%20%28Build%29/builds/3273> This may be caused by: // FIXME: Would it be sufficient to special-case this code for <body> and <frameset>? // // This code was added to address <rdar://problem/5846492> Onorientationchange event not working for document.body. // Forward this call to addEventListener() to the window since these are window-only events. if (eventType == eventNames().orientationchangeEvent || eventType == eventNames().resizeEvent) targetNode->document().domWindow()->addEventListener(eventType, WTFMove(listener), useCapture); in Node.cpp’s tryAddEventListener(). This code is iOS specific and goes and set and event listener for the ‘resize’ event on the Window for some reason. Added an ios-specific expectation to keep the test running during investigation in <https://trac.webkit.org/r196405>. |