Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Issue 75273004: Add 'exposed' objects and embeds to a document's named properties. (Closed)

Created:
7 years, 1 month ago by sof
Modified:
7 years ago
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Add 'exposed' objects and embeds to a document's named properties. The spec tells us that exposed <embed> and <object> are to be included in a document's "supported property names" http://www.whatwg.org/specs/web-apps/current-work/#dom-document-nameditem http://www.whatwg.org/specs/web-apps/current-work/#exposed (along with various other side conditions.) crbug.com/313292 retired a partial notion of "exposed"ness, this provides an implementation close to the spec's definition. R= BUG=316988 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163287

Patch Set 1 #

Total comments: 2

Patch Set 2 : Test exposedness and shadow DOM trees #

Patch Set 3 : Compatible handling of fallbacks + update plugin test outcomes #

Patch Set 4 : Remove long comment #

Patch Set 5 : Rebased, handling e59a5fe6e8 conflicts #

Patch Set 6 : Remove extraneous empty line in expected output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -99 lines) Patch
M LayoutTests/fast/dom/HTMLDocument/document-special-properties.html View 4 chunks +8 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/HTMLDocument/document-special-properties-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/HTMLDocument/object-by-name-or-id.html View 1 2 3 4 2 chunks +10 lines, -11 lines 0 comments Download
M LayoutTests/fast/dom/HTMLDocument/object-by-name-or-id-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/dom/shadow/exposed-object-within-shadow.html View 1 1 chunk +113 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/exposed-object-within-shadow-expected.txt View 1 1 chunk +21 lines, -0 lines 0 comments Download
M LayoutTests/plugins/object-embed-plugin-scripting.html View 1 2 3 4 8 chunks +24 lines, -17 lines 0 comments Download
M LayoutTests/plugins/object-embed-plugin-scripting-expected.txt View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLEmbedElement.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/html/HTMLEmbedElement.cpp View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/html/HTMLNameCollection.cpp View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/HTMLObjectElement.h View 1 2 3 4 3 chunks +4 lines, -5 lines 0 comments Download
M Source/core/html/HTMLObjectElement.cpp View 1 2 3 4 3 chunks +9 lines, -57 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
sof
At your leisure, please take a look.
7 years, 1 month ago (2013-11-18 15:02:19 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/75273004/diff/1/Source/core/html/HTMLObjectElement.cpp File Source/core/html/HTMLObjectElement.cpp (right): https://codereview.chromium.org/75273004/diff/1/Source/core/html/HTMLObjectElement.cpp#newcode392 Source/core/html/HTMLObjectElement.cpp:392: for (Node* ancestor = parentNode(); ancestor; ancestor = ...
7 years, 1 month ago (2013-11-18 17:38:57 UTC) #2
sof
https://codereview.chromium.org/75273004/diff/1/Source/core/html/HTMLObjectElement.cpp File Source/core/html/HTMLObjectElement.cpp (right): https://codereview.chromium.org/75273004/diff/1/Source/core/html/HTMLObjectElement.cpp#newcode392 Source/core/html/HTMLObjectElement.cpp:392: for (Node* ancestor = parentNode(); ancestor; ancestor = ancestor->parentNode()) ...
7 years, 1 month ago (2013-11-18 20:37:34 UTC) #3
abarth-chromium
Looks reasonable to me.
7 years, 1 month ago (2013-11-18 23:08:49 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/75273004/40001
7 years, 1 month ago (2013-11-19 03:45:50 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_layout for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout&number=15194
7 years, 1 month ago (2013-11-19 05:46:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/75273004/40001
7 years, 1 month ago (2013-11-19 07:23:35 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_blink_rel&number=11522
7 years, 1 month ago (2013-11-19 09:11:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/75273004/40001
7 years, 1 month ago (2013-11-19 09:34:51 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=17924
7 years, 1 month ago (2013-11-19 12:05:59 UTC) #10
sof
More test expectations needs to be updated here; will attend to.
7 years, 1 month ago (2013-11-19 12:19:05 UTC) #11
sof
On 2013/11/19 12:19:05, sof wrote: > More test expectations needs to be updated here; will ...
7 years, 1 month ago (2013-11-20 08:32:20 UTC) #12
sof
On 2013/11/20 08:32:20, sof wrote: > On 2013/11/19 12:19:05, sof wrote: > > More test ...
7 years, 1 month ago (2013-11-20 15:48:58 UTC) #13
sof
Does the updated version of the "exposed"ness predicate appear reasonable?
7 years ago (2013-11-26 23:13:00 UTC) #14
sof
Rebased and took care of the conflict&issues wrt the revert that happened in https://codereview.chromium.org/61213008/ (don't ...
7 years ago (2013-12-05 09:59:26 UTC) #15
abarth-chromium
lgtm
7 years ago (2013-12-05 19:05:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/75273004/490001
7 years ago (2013-12-05 19:05:48 UTC) #17
sof
On 2013/12/05 19:05:39, abarth wrote: > lgtm Terrific, thanks for going over it again.
7 years ago (2013-12-05 20:58:04 UTC) #18
commit-bot: I haz the power
7 years ago (2013-12-05 21:21:34 UTC) #19
Message was sent while issue was closed.
Change committed as 163287

Powered by Google App Engine
This is Rietveld 408576698