Closed Bug 1168183 Opened 9 years ago Closed 9 years ago

Web components inserted from AJAX request doesn't work

Categories

(Core :: DOM: Events, defect)

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gessos.paul, Unassigned)

Details

(Keywords: testcase-wanted)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20150525030205 Steps to reproduce: please set 'dom.webcomponents.enabled' = true Loading a piece of html with AJAX, which have custom elements, and insert it in the document, does not run the CustomElement.attachedCallback (nor createdCallback). Also, an already existed custom element in document, failed to run CustomElement.attachedCallback (nor createdCallback). The element is not unresolved element. Clearly is before script which registers custom element. But even if it is an unresolved element, after registering custom element callbacks code must run. Actual results: Failure Expected results: Success
...Clearly is *after* script...
Could you attach a minimal testcase to the bug report, please.
Flags: needinfo?(gessos.paul)
Keywords: testcase-wanted
Attached file sample.zip
I remember that I uploaded one. No problem, take it again! (with correct mime)
Flags: needinfo?(gessos.paul)
Summary: Custom elements inserted from AJAX request doesn't work → Web components inserted from AJAX request doesn't work
anyone?
User Agent- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0 Nightly 46.0a1 Build ID- 20151216030229 Thanks for taking the time to report this issue. Are you getting the same issue in the latest version ?
Component: Untriaged → DOM: Events
Flags: needinfo?(gessos.paul)
Product: Firefox → Core
Attached image screencopy1.PNG
Version 47.0a1 User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID 20160131030347 Update Channel nightly Hi Reporter, Thanks again for your time. I run your attached file and it seems working fine. Screen-copy is attached. Are you expecting this or other? Have you tried to reproduce the issue in the latest nightly and Firefox release ?
Closing as WFM per Comment 6.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(gessos.paul)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: