RESOLVED FIXED 141063
JSON.stringify on ClientRect returns an empty object.
https://bugs.webkit.org/show_bug.cgi?id=141063
Summary JSON.stringify on ClientRect returns an empty object.
Matthew Mirman
Reported 2015-01-29 17:40:35 PST
rdar://problem/18437653 Patch forthcoming.
Attachments
Added a ClientRect as an interface that requires attributes on instance (3.43 KB, patch)
2015-01-29 17:56 PST, Matthew Mirman
oliver: review+
buildbot: commit-queue-
Archive of layout-test-results from ews107 for mac-mavericks-wk2 (711.45 KB, application/zip)
2015-01-29 18:35 PST, Build Bot
no flags
Archive of layout-test-results from ews103 for mac-mavericks (536.78 KB, application/zip)
2015-01-29 18:48 PST, Build Bot
no flags
Added a ClientRect as an interface that requires attributes on instance (17.29 KB, patch)
2015-01-29 19:21 PST, Matthew Mirman
buildbot: commit-queue-
Archive of layout-test-results from ews101 for mac-mavericks (537.12 KB, application/zip)
2015-01-29 20:13 PST, Build Bot
no flags
Archive of layout-test-results from ews107 for mac-mavericks-wk2 (663.24 KB, application/zip)
2015-01-29 20:21 PST, Build Bot
no flags
Added a ClientRect as an interface that requires attributes on instance (4.89 KB, patch)
2015-01-30 10:32 PST, Matthew Mirman
no flags
Matthew Mirman
Comment 1 2015-01-29 17:56:07 PST
Created attachment 245679 [details] Added a ClientRect as an interface that requires attributes on instance
Build Bot
Comment 2 2015-01-29 18:35:27 PST
Comment on attachment 245679 [details] Added a ClientRect as an interface that requires attributes on instance Attachment 245679 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5461305083297792 New failing tests: js/dom/JSON-stringify.html
Build Bot
Comment 3 2015-01-29 18:35:30 PST
Created attachment 245680 [details] Archive of layout-test-results from ews107 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 4 2015-01-29 18:48:38 PST
Comment on attachment 245679 [details] Added a ClientRect as an interface that requires attributes on instance Attachment 245679 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5121898513956864 New failing tests: js/dom/JSON-stringify.html
Build Bot
Comment 5 2015-01-29 18:48:42 PST
Created attachment 245681 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Matthew Mirman
Comment 6 2015-01-29 19:21:40 PST
Created attachment 245684 [details] Added a ClientRect as an interface that requires attributes on instance Updated expected results.
Build Bot
Comment 7 2015-01-29 20:13:14 PST
Comment on attachment 245684 [details] Added a ClientRect as an interface that requires attributes on instance Attachment 245684 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5825585955733504 New failing tests: js/dom/JSON-stringify.html
Build Bot
Comment 8 2015-01-29 20:13:16 PST
Created attachment 245685 [details] Archive of layout-test-results from ews101 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 9 2015-01-29 20:21:43 PST
Comment on attachment 245684 [details] Added a ClientRect as an interface that requires attributes on instance Attachment 245684 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4567062827499520 New failing tests: js/dom/JSON-stringify.html
Build Bot
Comment 10 2015-01-29 20:21:47 PST
Created attachment 245688 [details] Archive of layout-test-results from ews107 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Matthew Mirman
Comment 11 2015-01-30 10:32:12 PST
Created attachment 245726 [details] Added a ClientRect as an interface that requires attributes on instance Fixed expectations again.
Matthew Mirman
Comment 12 2015-01-30 11:11:02 PST
Patch landed: http://trac.webkit.org/changeset/179406 Closing bug.
Geoffrey Garen
Comment 13 2015-01-30 12:23:56 PST
So, does JSON.stringify only work for "own" properties?
Matthew Mirman
Comment 14 2015-01-30 13:05:01 PST
(In reply to comment #13) > So, does JSON.stringify only work for "own" properties? Yes. This appears to be the standard accepted behavior.
Note You need to log in before you can comment on or make changes to this bug.