Object.defineProperty() should maintain existing getter / setter if not overridden in the new descriptor. Currently, if the property is a has a custom getter / setter, and if the new descriptor only has a setter (or only a getter), it will clear the existing getter (or setter). This breaks search suggestions and the search button on www.iciba.com.
<rdar://problem/27242197>
Created attachment 283191 [details] Patch
Comment on attachment 283191 [details] Patch r=me
Comment on attachment 283191 [details] Patch Attachment 283191 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1648463 New failing tests: js/dom/customAccessor-defineProperty_setterOnly.html js/dom/customAccessor-defineProperty.html js/dom/customAccessor-defineProperty_getterOnly.html
Created attachment 283193 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 283194 [details] Patch
Comment on attachment 283194 [details] Patch Clearing flags on attachment: 283194 Committed r203004: <http://trac.webkit.org/changeset/203004>
All reviewed patches have been landed. Closing bug.