RESOLVED FIXED Bug 148454
Range.detach() / NodeIterator.detach() should be no-ops as per the latest DOM specification
https://bugs.webkit.org/show_bug.cgi?id=148454
Summary Range.detach() / NodeIterator.detach() should be no-ops as per the latest DOM...
Chris Dumez
Reported 2015-08-25 16:50:32 PDT
Range.detach() / NodeIterator.detach() should be no-ops as per the latest DOM specification: https://dom.spec.whatwg.org/#dom-range-detach https://dom.spec.whatwg.org/#dom-nodeiterator-detach These are already no-ops in Firefox and Chrome. W3C test suites: http://w3c-test.org/dom/ranges/Range-compareBoundaryPoints.html http://w3c-test.org/dom/traversal/NodeIterator.html
Attachments
Patch (158.80 KB, patch)
2015-08-25 22:33 PDT, Chris Dumez
no flags
Patch (163.04 KB, patch)
2015-08-25 23:06 PDT, Chris Dumez
no flags
Patch (163.05 KB, patch)
2015-08-26 07:37 PDT, Chris Dumez
no flags
Patch (166.83 KB, patch)
2015-08-26 08:57 PDT, Chris Dumez
no flags
Patch (170.47 KB, patch)
2015-08-26 09:16 PDT, Chris Dumez
no flags
Patch (171.04 KB, patch)
2015-08-26 09:41 PDT, Chris Dumez
no flags
Patch (184.02 KB, patch)
2015-08-26 10:12 PDT, Chris Dumez
no flags
Patch (183.95 KB, patch)
2015-08-26 10:25 PDT, Chris Dumez
no flags
Patch (241.76 KB, patch)
2015-08-31 11:24 PDT, Chris Dumez
no flags
Patch (241.73 KB, patch)
2015-08-31 11:35 PDT, Chris Dumez
no flags
Patch (241.73 KB, patch)
2015-08-31 11:39 PDT, Chris Dumez
no flags
Archive of layout-test-results from ews102 for mac-mavericks (960.06 KB, application/zip)
2015-08-31 12:15 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (1.08 MB, application/zip)
2015-08-31 12:29 PDT, Build Bot
no flags
Patch (605.49 KB, patch)
2015-08-31 12:53 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-08-25 19:36:14 PDT
Range.detach is a no-op in Firefox since v15: - https://bugzilla.mozilla.org/show_bug.cgi?id=702948 Range.detach is a no-op in Chrome since April 2014: - https://src.chromium.org/viewvc/blink?revision=173010&view=revision NodeIterator.detach is a no-op in Firefox since v22: - https://bugzilla.mozilla.org/show_bug.cgi?id=823549 NodeIterator.detach is a no-op in Chrome since April 2014: - https://src.chromium.org/viewvc/blink?revision=172768&view=revision
Chris Dumez
Comment 2 2015-08-25 22:33:46 PDT
Chris Dumez
Comment 3 2015-08-25 23:06:49 PDT
Chris Dumez
Comment 4 2015-08-26 07:37:22 PDT
Chris Dumez
Comment 5 2015-08-26 08:57:48 PDT
Chris Dumez
Comment 6 2015-08-26 09:16:13 PDT
Chris Dumez
Comment 7 2015-08-26 09:41:03 PDT
Chris Dumez
Comment 8 2015-08-26 10:12:19 PDT
Chris Dumez
Comment 9 2015-08-26 10:25:02 PDT
Chris Dumez
Comment 10 2015-08-30 20:42:36 PDT
ping review?
Ryosuke Niwa
Comment 11 2015-08-31 09:19:51 PDT
Comment on attachment 259962 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259962&action=review > Source/WebCore/dom/Range.cpp:1718 > + startContainer().formatForDebugger(s, FormatBufferSize); > + result.append(s); We should clean up this mess in a separate patch...
Chris Dumez
Comment 12 2015-08-31 11:24:13 PDT
Chris Dumez
Comment 13 2015-08-31 11:35:44 PDT
WebKit Commit Bot
Comment 14 2015-08-31 11:38:44 PDT
Comment on attachment 260299 [details] Patch Rejecting attachment 260299 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 260299, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebKit2/ChangeLog contains OOPS!. Full output: http://webkit-queues.webkit.org/results/126997
Chris Dumez
Comment 15 2015-08-31 11:39:44 PDT
Build Bot
Comment 16 2015-08-31 12:15:12 PDT
Comment on attachment 260301 [details] Patch Attachment 260301 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/127062 New failing tests: http/tests/w3c/dom/ranges/Range-compareBoundaryPoints.html http/tests/w3c/dom/ranges/Range-isPointInRange.html
Build Bot
Comment 17 2015-08-31 12:15:16 PDT
Created attachment 260304 [details] Archive of layout-test-results from ews102 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 18 2015-08-31 12:29:50 PDT
Comment on attachment 260301 [details] Patch Attachment 260301 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/127103 New failing tests: http/tests/w3c/dom/ranges/Range-compareBoundaryPoints.html http/tests/w3c/dom/ranges/Range-isPointInRange.html
Build Bot
Comment 19 2015-08-31 12:29:54 PDT
Created attachment 260306 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Chris Dumez
Comment 20 2015-08-31 12:53:45 PDT
WebKit Commit Bot
Comment 21 2015-08-31 13:42:11 PDT
Comment on attachment 260309 [details] Patch Clearing flags on attachment: 260309 Committed r189182: <http://trac.webkit.org/changeset/189182>
WebKit Commit Bot
Comment 22 2015-08-31 13:42:21 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 23 2015-09-02 13:39:50 PDT
Note You need to log in before you can comment on or make changes to this bug.