gecko-dev/dom
Edgar Chen 5e15c14056 Bug 1353647 - Fix the custom elements v0 upgrade inconsistency; r=wchen
There are two places doing prototype setup in old upgrade,
- If definition comes after JS reflector creation, CustomElementRegistry::Upgrade will do prototype swizzling.
- If definition comes before JS reflector creation, Element::WrapObject will set up the prototype.

The later one does SubsumesConsideringDomain, but the former doesn't not.

This patch is to fix the inconsistency, i.e. the former case should also do SubsumesConsideringDomain.

MozReview-Commit-ID: G3gVsaEa0YF

--HG--
extra : rebase_source : 5e2081e470473cd1a1f642a2dc693127cb9486ca
2017-04-04 23:42:22 +08:00
..
animation Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
asmjscache Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8) 2017-04-18 17:01:04 -07:00
audiochannel Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan 2017-04-27 12:44:57 -04:00
base Bug 1353647 - Fix the custom elements v0 upgrade inconsistency; r=wchen 2017-04-04 23:42:22 +08:00
battery
bindings Bug 1338059 - Part 1: Generate cycle collection related code for WebIDL type Promise, r=bz 2017-05-05 10:12:40 +08:00
broadcastchannel Bug 1353629 - PBlob refactoring - part 4 - IPCBlobInputStream, r=smaug 2017-04-24 12:09:40 +02:00
browser-element Bug 1358876 - Autophone - disable additional perma orange tests on Android 5.1, r=jmaher 2017-05-03 04:13:03 -07:00
cache Bug 1357286 - Fix warnings on release builds about unused return values from autoStream->Serialize, r=philor 2017-04-18 07:29:47 -07:00
canvas Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj 2017-05-04 12:10:19 -06:00
commandhandler Bug 1361745 - Part 2: Avoid a double hashtable lookup for insertions in nsControllerCommandGroup::AddCommandToGroup; r=mystor 2017-05-08 10:02:04 -04:00
console Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
crypto
encoding Bug 1351548 - Remove reftest-stylo.lists. r=bholley 2017-04-28 11:15:58 +08:00
events Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
fetch Bug 1357286 - Fix warnings on release builds about unused return values from autoStream->Serialize, r=philor 2017-04-18 07:29:47 -07:00
file Bug 1362941 - Set DocGroup-EventTarget from nsIGlobalObject to have dispatched runnables labeled. r=baku 2017-05-08 17:16:20 +08:00
filehandle
filesystem Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku 2017-05-03 11:48:54 -04:00
flyweb
gamepad Bug 1362284 - Assign the background thread before flushing pending events at GamepadEventChannelParent; r=Lenzak 2017-05-05 01:21:39 +08:00
geolocation Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
grid
html Bug 1361641 - Part 3: move data: URIs in <object> to seperate file. r=smaug 2017-05-09 10:25:23 +08:00
imptests Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier 2017-05-02 14:21:04 -07:00
indexedDB Bug 1339826 - Part 3: Add a self reference in Maintenance::Finish() to prevent self destruction while the method is still being executed; r=btseng 2017-04-28 17:43:03 +02:00
interfaces Bug 1363057 - Make nsIDOMLocation an empty interface, r=mystor 2017-05-08 20:24:13 +02:00
ipc Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz 2017-05-08 15:49:31 +02:00
json
jsurl Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor 2017-04-20 10:15:06 +08:00
locales Backed out changeset c733f9dbec85 (bug 1361000) for -werror bustage 2017-05-01 23:02:40 -07:00
manifest Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
mathml Bug 1359556 - Optimize cloneNode by preinitializing attribute and child arrays r=bz 2017-04-20 12:57:48 -07:00
media Backed out changeset 5f263d6fb16d (bug 1362212) for build bustage on Linux - fails testing/xpcshell/selftest.py | XPCShellTestsTests.testAddTaskStackTrace. r=backout 2017-05-07 23:12:35 +02:00
messagechannel Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
network Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
notification Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
offline Bug 1316683 - Part 5: Avoid going into SpiderMonkey for retrieving origin attributes; r=baku 2017-04-12 11:32:19 -04:00
performance Bug 1123754 (part 1) - Rename ProfilerMarkers.{h,cpp} as ProfilerMarkerPayload.{h,cpp}. r=mstange. 2017-04-27 07:36:19 +10:00
permission
plugins Backed out changeset d6516a10c808 (bug 1322650) 2017-05-05 18:53:40 +02:00
power
presentation Bug 1359935 - Don't call sendAsyncMessage in mockedSessionTransport.close() after tearDown. r=kershaw 2017-04-28 14:13:35 -07:00
promise Bug 1358879 - Optimize handling of internally-created Promise objects. r=bz 2017-05-03 12:46:00 +02:00
push Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
quota Merge inbound to m-c a=merge 2017-05-03 13:40:24 -07:00
res
script Bug 1362119 - part 2 - Fixing the code style in dom/script, r=ehsan 2017-05-08 08:25:03 +02:00
secureelement Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
security Bug 1345615: Disable websocket tests on android. r=test-fix 2017-04-27 17:28:13 +02:00
smil Bug 1357979 - Add dom.animations-api.core.enabled preference to test of smil with transition in order to enable beta/release test. r=birtles 2017-05-01 22:54:11 +09:00
storage Bug 1361974 - Add nsIDOMWindowUtils API to check usage of a given storage r=mayhemer 2017-05-04 14:29:36 +02:00
svg Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
system Bug 1361087 - Loading osfile_shared_allthreads.jsm should not initialize the system-info service (as it does main thread IO on Windows), r=Yoric. 2017-05-03 10:45:15 +02:00
tests Bug 1354013 - Creating customized built-in elements without relevant definitions registered first shouldn't throw NotFoundError; r=wchen 2017-04-06 17:00:41 +08:00
time
u2f
url Backed out changeset a180e3f4de16 (bug 1358114) 2017-04-24 15:43:05 +02:00
vr Bug 1363037 - Add missing gfxVR.h include to VRServiceTest.h to fix bustage. r=kip 2017-05-08 07:34:00 -04:00
webauthn
webbrowserpersist
webidl Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz 2017-05-08 15:49:31 +02:00
workers Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
worklet Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
xbl Bug 1359384: Check for display: contents on nsXBLResourceLoader::NotifyBoundElements. r=bz 2017-04-27 23:35:32 +02:00
xhr Bug 1357219 - Don't warn if we can't use a memory mapped file. r=jld 2017-04-21 15:56:34 -05:00
xml Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
xslt Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
xul Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
jar.mn
moz.build Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00