Till Schneidereit
3a9eed06fe
Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
...
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):
Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Emilio Cobos Álvarez
12929ea07e
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Carsten "Tomcat" Book
255d05f484
Backed out changeset 03362dd7616d (bug 1224664)
2016-07-16 10:03:12 +02:00
Carsten "Tomcat" Book
2abd5d3f18
Backed out changeset dd2d38b7c16b (bug 933378)
2016-07-16 10:03:11 +02:00
Carsten "Tomcat" Book
b2d35d7ca3
Backed out changeset 1c2bd3bdebd6 (bug 933378)
2016-07-16 10:03:10 +02:00
Carsten "Tomcat" Book
dfb4a51bab
Backed out changeset ed38780a242c (bug 933378)
2016-07-16 10:03:08 +02:00
Carsten "Tomcat" Book
10cd9bcc48
Backed out changeset 7fef388bc6cf (bug 1224664)
2016-07-16 10:03:07 +02:00
Boris Zbarsky
8f9cd3e3f5
Bug 1224664 followup: NS_ASSERT_OWNINGTHREAD needs to be #ifdef DEBUG if our NS_DECL_OWNINGTHREAD is.
2016-07-15 23:40:19 -04:00
Boris Zbarsky
a522fa79b7
Bug 933378 part 4. Change the ErrorResult destructor to suppress the exception, after asserting that it's already suppressed. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
38d0ae9c0c
Bug 933378 part 2. Introduce a FastErrorResult class that bindings can use internally instead of ErrorResult. r=bkelly
2016-07-15 22:35:13 -04:00
Boris Zbarsky
4e44fce24b
Bug 933378 part 1. Introduce a TErrorResult class that will serve as a base class for various ErrorResult-like subclasses. No actual behavior changes so far. r=bkelly
2016-07-15 22:35:13 -04:00
Emilio Cobos Álvarez
c5ce5bdb84
Bug 1224664 - Assert if an ErrorResult is accessed on a thread different than the one it's created on, r=khuey
2016-07-15 22:35:13 -04:00
Edgar Chen
3c4e6a930e
Bug 1286548 - SecureContext makes sense for interface with NoInterfaceObject, since it is also propagated to interface members; r=bz
...
MozReview-Commit-ID: K7Z3r2YRt7M
--HG--
extra : rebase_source : 5ebb9cd09de4a42690bac6cd04208f108da50731
2016-07-14 17:48:20 +08:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Andrew McCreight
1d1ce1020c
Bug 1283636 - Use CallbackPreserveColor() less. r=bz
...
Some places call CallbackPreserveColor() because they know the object
must have already been marked black. This patch replaces those calls
with a new function CallbackKnownNotGray() which documents and
dynamically checks this assumption.
2016-07-13 13:28:00 +02:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Boris Zbarsky
1ed92648d1
Bug 1257037 part 15. Get rid of the wantsXrays configuration annotation. Just set bindings to want Xrays if they're exposed in Window. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
8c00d2132b
Bug 1257037 part 14. Remove the now-unused skipGen bits from binding code. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
d959247e48
Bug 1257037 part 13. Get rid of the concept of worker vs non-worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
4813a875a7
Bug 1257037 part 12. Simplify CGRegisterWorkerBindings now that there are no more worker descriptors. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
f3fde63185
Bug 1257037 part 11. Get rid of getRelevantProviders, since all the places that use it have a Configuration. r=khuey
2016-07-08 00:37:55 -04:00
Boris Zbarsky
584c6019b6
Bug 1257037 part 10. Store only one descriptor per interface name in the configuration. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
67d015d59c
Bug 1257037 part 9. Get rid of the concept of mainthread callbacks or worker callbacks; just codegen all the callbacks. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
ca29b3c56a
Bug 1257037 part 8. Remove Configuration.getDescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
f719b4d8e4
Bug 1257037 part 7. Make the binding Configuration a non-workers DescriptorProvider. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
fc26f41e40
Bug 1257037 part 6. Simplify the toBindingNamespace function now that there are no worker bindings. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
e36bd30afb
Bug 1257037 part 5. Remove remaining checks for worker descriptors from Codegen.py. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
c65c962762
Bug 1257037 part 4. Remove the worker-only XXX comments from CGWrapGlobalMethod, since we never have worker descriptors for globals anyway. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
69caa834f3
Bug 1257037 part 3. Remove filteredSignatures, since it's a no-op unless we're dealing with a worker descriptor. r=khuey
2016-07-08 00:37:54 -04:00
Boris Zbarsky
1dbb14fbc5
Bug 1257037 part 2. Remove isMaybeExposedIn, since it always returns true now. r=khuey
2016-07-08 00:37:53 -04:00
Boris Zbarsky
69f3736864
Bug 1257037 part 1. Remove the worker-descriptor-related complexity in getControllingCondition, since workerDesc.workers never tests true anymore. r=khuey
2016-07-08 00:37:53 -04:00
Boris Zbarsky
8345db87d2
Bug 1282150 followup: placate the rooting analysis in SimpleGlobalObject::Create so we can reopen the CLOSED TREE
2016-07-07 22:24:37 -04:00
Boris Zbarsky
97b0a16147
Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
d208b0de7a
Bug 1282150 part 3. Add a way to get the JSRuntime for the thread, and use it in various places for rooting. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
e990418707
Bug 1282150 part 2. Get rid of GetDefaultJSContextForThread. r=bholley
2016-07-07 20:08:26 -04:00
Boris Zbarsky
eb139d85bf
Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
2016-07-07 20:08:25 -04:00
Jan de Mooij
a53a99aab6
Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
...
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
Brad Werth
e0d3269112
Bug 1241932 - Expose decoded CSS grid track properties in a Chrome API. r=heycam, r=khuey
...
--HG--
extra : rebase_source : 0c2a49236a2c71233a1ce6a92e50663b8a9f6238
2016-07-06 11:45:18 -07:00
Fabrice Desré
f3a986a379
Bug 1284455 - Remove the Web Activities API r=me
...
MozReview-Commit-ID: 5SNGsRU4m9V
--HG--
extra : rebase_source : ccc6860481faa17b4b52571ae4fa6d9f2fc749de
2016-04-20 19:02:44 +02:00
Astley Chen
c0cfafab52
Bug 1284169
- include ACDEFINES flags in CSS properties PyGen r=mshal
...
MozReview-Commit-ID: 6fBTizGkBqG
--HG--
extra : rebase_source : 3d5a10b19941383e16c84712c3d6403632e7da50
2016-07-04 13:48:54 +08:00
Andrea Marchesini
43868a9da7
Bug 1282366 - Improve WorkerHolder use in Runnables, r=khuey
2016-07-04 08:19:10 +02:00
Daniel Holbert
2354f5fcb2
(no bug) Fix documentation in Bindings.conf to clarify that only some interfaces need to be listed there. rs=khuey
...
comment-only, so DONTBUILD
MozReview-Commit-ID: 5TY2roIvVcZ
2016-07-01 15:47:30 -07:00
Carsten "Tomcat" Book
3a42c363cc
merge mozilla-inbound to mozilla-central a=merge
2016-06-30 12:33:41 +02:00
Gregory Szorc
301c133f5c
Bug 1280326 - Stop monkeypatching os.path.exists; r=ted
...
MockedOpen monkeypatches os.path.exists. Changes to MockedOpen
since this test code was written have made it more robust
making the extra monkeypatching in the test not necessary.
This change may not fix the test failure reported in the bug.
But at least it makes the test code simpler.
MozReview-Commit-ID: BnUr08leope
--HG--
extra : rebase_source : d8d721392c88883fddf7959ca40ea194f91483c9
2016-06-24 13:41:49 -07:00
Carsten "Tomcat" Book
5c90a99952
merge mozilla-inbound to mozilla-central a=merge
2016-06-29 16:13:05 +02:00
Mantaroh Yoshinaga
8bc07a20e3
Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
...
MozReview-Commit-ID: CqqDlHQsm0p
--HG--
extra : rebase_source : 4495e289009af105b61413526ffd03200b5bee6b
2016-06-29 11:13:45 +09:00
Tom Schuster
4455e57052
Bug 1114580 - Change ESClassValue to an enum class. r=jorendorff
2016-06-30 00:04:56 +02:00
Boris Chiou
03d90dd78b
Bug 1244590
- Part 3: Parse spacing. r=birtles
...
We only support spacing mode from Web Animations API, so add a simple parser and
use it only from the API. In this patch, parse spacing mode from the constructor
and throw TypeError if we have any parse error.
MozReview-Commit-ID: 9H7g80IcZfZ
--HG--
extra : rebase_source : e1bc781ff0f20a1a38c04e672832ec013edc549d
2016-05-13 16:38:25 +08:00
Wes Kocher
8414c26e20
Merge m-c to inbound, a=merge
2016-06-27 14:09:06 -07:00
Wes Kocher
cd463132d8
Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
...
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)
--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Mantaroh Yoshinaga
5b4de2dcff
Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
...
MozReview-Commit-ID: CqqDlHQsm0p
--HG--
extra : rebase_source : 6f6f4583ffa57a4375af62c64a76081902b1f361
2016-06-27 08:09:32 +09:00
Boris Zbarsky
4eb82c0b30
Bug 1281071
. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley
2016-06-23 19:39:53 -04:00
Andrea Marchesini
f8c59929b9
Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey
2016-06-29 08:00:39 +02:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Kyle Huey
2dda6971f7
Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
...
--HG--
extra : rebase_source : ed96d99034e9236bd1fd4a8287efbd17cf20138e
2016-06-28 10:47:23 -07:00
Mike Shal
17d3cc636b
Bug 1273579 - Move GenerateCSS2PropertiesWebIDL.py invocation to moz.build; r=ted
...
MozReview-Commit-ID: 4OdSORktwis
2016-05-16 15:43:56 -04:00
Mike Shal
368c6bdec3
Bug 1273579 - Create main() function in GenerateCSS2PropertiesWebIDL.py; r=ted
...
MozReview-Commit-ID: 1R4L8Yvuzb2
2016-05-16 15:28:48 -04:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Andrea Marchesini
37ac18fc67
Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
...
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Andrea Marchesini
ec2c86347e
Bug 1269162 - part 5 - Merge XMLHttpRequestUploadWorker and XMLHttpRequestUpload, r=smaug
2016-06-27 19:13:41 +02:00
Andrea Marchesini
7c9f17d89a
Bug 1269162 - part 4 - Move XMLHttpRequestEventTarget in separate files, r=smaug
2016-06-27 19:13:41 +02:00
Andrea Marchesini
d3028d3755
Bug 1269162 - part 2 - Move XHRUpload in workers to XMLHttpRequestUploadWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequestUpload.cpp => dom/workers/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUpload.h => dom/workers/XMLHttpRequestUploadWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
e8f16c81be
Bug 1269162 - part 1 - Move XHR in workers to XMLHttpRequestWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequest.cpp => dom/workers/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequest.h => dom/workers/XMLHttpRequestWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
82f92bee37
Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly
2016-06-12 16:26:51 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrea Marchesini
1264ad2da5
Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug
2016-06-09 12:44:54 +02:00
Andrea Marchesini
d84e87b425
Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug
2016-06-09 12:43:56 +02:00
Andrea Marchesini
e7022433c4
Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug
2016-06-09 12:43:02 +02:00
Andrea Marchesini
c1ff80c475
Bug 1278834 - Renaming nsPerformanceTiming to mozilla::dom::PerformanceTiming, r=smaug
2016-06-09 12:42:43 +02:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
23a4858f1f
Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj
2016-06-07 02:46:03 -07:00
Jan de Mooij
66faed38af
Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
...
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
James Graham
5eb8c8dd4e
Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
...
MozReview-Commit-ID: AiMiksDzUdt
--HG--
extra : rebase_source : 3125cd305459a8080c3b266b07c199937bc36c5c
2016-06-06 17:52:24 +01:00
Boris Zbarsky
0f8a633cfe
Bug 1277401 part 5. Change dictionary codegen to output Func stuff as needed. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
7a576733a8
Bug 1277401 part 4. Fix up includes for dictionary members with [Func] on them. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
5b496a675c
Bug 1277401 part 3. Add IDL parser support for [Func] on dictionary members. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
d3289bfcf8
Bug 1277401 part 2. Fix up includes for dictionaries that have [ChromeOnly] members. r=peterv
2016-06-07 10:34:54 -04:00
Boris Zbarsky
df8eeb6742
Bug 1277401 part 1. Factor out the condition list generation for pref/func so we can reuse it for dictionary members. r=peterv
2016-06-07 10:34:53 -04:00
Carsten "Tomcat" Book
f70103867d
Backed out changeset 555091dfb391 (bug 1263991) for bustage on a CLOSED TREE
2016-06-07 12:10:43 +02:00
Jonas Sicking
be1a3a8e1d
Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj
2016-06-07 02:46:03 -07:00
Andrea Marchesini
c30cdb7269
Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz
2016-06-04 09:32:51 +02:00
Andrea Marchesini
be787b709b
Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv
2016-06-04 09:31:44 +02:00
Ms2ger
595eb44ead
Bug 1273499 - Move some code around in CallSetup::CallSetup() to avoid code repetition; r=bz
...
This has been possible since changeset d5f6867173c9 (bug 1262630).
2016-06-03 11:11:45 +02:00
Cameron McCormack
e3ca5e1f4a
Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv
2016-06-02 12:14:24 -04:00
Cameron McCormack
fe6930a402
Bug 1141916 - Part 1: Store extended attributes on IDLArguments. r=peterv
2016-06-02 12:10:56 -04:00
Boris Zbarsky
783e8cc098
Bug 1270601 part 3. Add a way to annotate and IDL namespace as needing a new plain object as its prototype, because using Object.prototype as the prototype of 'console' is not web-compatible. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
98b4dca6e9
Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv
2016-06-02 10:34:39 -04:00
Boris Zbarsky
7e52059153
Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv
2016-06-02 10:34:39 -04:00
Kaku Kuo
fca7b0b604
Bug 1141979 - part8 - implement ImageBitmap extensions; r=jrmuizel
...
MozReview-Commit-ID: Bc6HoqRLMNB
--HG--
extra : transplant_source : %89%E9Q%FD4%ED%FD%EC5pqq%AF%C6%90%E0y%A2%88%12
2016-04-27 13:03:01 +08:00
Nicholas Nethercote
2fda0872c8
Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
...
This patch fixes numerous unchecked calls.
--HG--
extra : rebase_source : 566f2ca9fba1c8b18fa7ec1753168dbae9cf70d1
2016-06-01 15:49:04 +10:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336
Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
...
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Nathan Froyd
1578760736
Bug 1272813 - part 3 - try to take advantage of string sharing in JSEventHandler::HandleEvent; r=peterv
...
The Rebind() call in HandleEvent was attempting to be clever by sharing
string data with the error event's message. Unfortunately, we
eventually needed to pass the message out to JS, which required copying
the string for JS's purposes. Fortunately, we can attempt to be even
more clever by noticing whether the error event's message is already
allocated as a string buffer and sharing that, rather than just the raw
data. In the best case, the string buffer can be shared out to JS and
we avoid some needless copying.
2016-06-01 16:26:59 -04:00
Nathan Froyd
a4f2ce0263
Bug 1272813 - part 2 - factor out a AssignFromStringBuffer method in FakeString; r=peterv
...
We're shortly going to have multiple ways to assign an nsStringBuffer
into FakeString, so we might as well put the common code somewhere
useful.
2016-06-01 16:26:59 -04:00
Andrea Marchesini
e004a6613e
Bug 1276887 - webidl "Deprecated" keyword should work in workers, r=smaug
2016-06-01 12:15:34 +02:00
Olli Pettay
b6345324c6
Bug 1276424 - EventListenerWasAdded/Remove doesn't work in JS implemented webidl because of missing 'override', r=bz
...
--HG--
extra : rebase_source : 9bc0109e898b462b500fb40da836c0fb8660b18e
2016-05-31 23:05:55 +03:00