WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(163.04 KB, patch)
2015-08-25 23:06 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(163.05 KB, patch)
2015-08-26 07:37 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(166.83 KB, patch)
2015-08-26 08:57 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(170.47 KB, patch)
2015-08-26 09:16 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(171.04 KB, patch)
2015-08-26 09:41 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(184.02 KB, patch)
2015-08-26 10:12 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(183.95 KB, patch)
2015-08-26 10:25 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(241.76 KB, patch)
2015-08-31 11:24 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(241.73 KB, patch)
2015-08-31 11:35 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(241.73 KB, patch)
2015-08-31 11:39 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
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
Details
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
Details
Patch
(605.49 KB, patch)
2015-08-31 12:53 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(13)
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 259927
[details]
Patch
Chris Dumez
Comment 3
2015-08-25 23:06:49 PDT
Created
attachment 259932
[details]
Patch
Chris Dumez
Comment 4
2015-08-26 07:37:22 PDT
Created
attachment 259948
[details]
Patch
Chris Dumez
Comment 5
2015-08-26 08:57:48 PDT
Created
attachment 259956
[details]
Patch
Chris Dumez
Comment 6
2015-08-26 09:16:13 PDT
Created
attachment 259957
[details]
Patch
Chris Dumez
Comment 7
2015-08-26 09:41:03 PDT
Created
attachment 259959
[details]
Patch
Chris Dumez
Comment 8
2015-08-26 10:12:19 PDT
Created
attachment 259961
[details]
Patch
Chris Dumez
Comment 9
2015-08-26 10:25:02 PDT
Created
attachment 259962
[details]
Patch
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
Created
attachment 260297
[details]
Patch
Chris Dumez
Comment 13
2015-08-31 11:35:44 PDT
Created
attachment 260299
[details]
Patch
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
Created
attachment 260301
[details]
Patch
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
Created
attachment 260309
[details]
Patch
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
rdar://problem/22544809
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug