Olli Pettay
37d309e927
Bug 1412485, disable legacy touch APIs on desktop, r=masayuki
...
Hiding document.createEvent("TouchEvent"), document.createTouch, document.createTouchList and ontouch* event
handlers on desktop to follow what Chrome has done.
This patch explicitly does not remove createTouch or createTouchList everywhere, although those seem to have been
removing already on some other browsers.
Devtools use TOUCHEVENTS_OVERRIDE_ENABLED for touch event testing, and this patch keeps the old behavior per discussion
with devtools devs.
Differential Revision: https://phabricator.services.mozilla.com/D22081
--HG--
extra : rebase_source : 562588a289632ba2f11db7f3ac8782c26c3b05f8
2019-03-04 13:35:53 +02:00
Manish Goregaokar
aa95e97459
Bug 1359269 - Part 8: Make it a hard error to apply type attributes on arguments, attrs, and dict members when it's unambiguous, update webidls; r=bzbarsky
...
Depends on D20058
Differential Revision: https://phabricator.services.mozilla.com/D20059
--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:50 +00:00
Manish Goregaokar
e7706facd8
Bug 1359269 - Part 6: Add support for attributes on types in dictionaries; r=bzbarsky
...
Depends on D19737
Differential Revision: https://phabricator.services.mozilla.com/D19738
--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:41 +00:00
Manish Goregaokar
2df29133e8
Bug 1359269 - Part 5: Add support for attributes on types in arguments; r=bzbarsky
...
Depends on D19736
Differential Revision: https://phabricator.services.mozilla.com/D19737
--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:33 +00:00
Manish Goregaokar
0f83cb4a13
Bug 1359269 - Part 3: Add a codegen test; r=bzbarsky
...
Depends on D19734
Differential Revision: https://phabricator.services.mozilla.com/D19735
--HG--
extra : moz-landing-system : lando
2019-03-02 04:21:24 +00:00
Dorel Luca
d66ca2b25b
Backed out 11 changesets (bug 1359269) for Linting failure. CLOSED TREE
...
Backed out changeset 00461a29f650 (bug 1359269)
Backed out changeset 6c09eccc4bd1 (bug 1359269)
Backed out changeset ae30401e7988 (bug 1359269)
Backed out changeset 8f9509e82439 (bug 1359269)
Backed out changeset bfb153c7f9c3 (bug 1359269)
Backed out changeset 1430913c5e9e (bug 1359269)
Backed out changeset 4bb00dc53459 (bug 1359269)
Backed out changeset 7705b1ebb154 (bug 1359269)
Backed out changeset 7fd8a3c1f827 (bug 1359269)
Backed out changeset c3f37539cb31 (bug 1359269)
Backed out changeset bb694b612b1b (bug 1359269)
2019-03-02 04:07:00 +02:00
Manish Goregaokar
ee96363968
Bug 1359269 - Part 8: Make it a hard error to apply type attributes on arguments, attrs, and dict members when it's unambiguous, update webidls; r=bzbarsky
...
Depends on D20058
Differential Revision: https://phabricator.services.mozilla.com/D20059
--HG--
extra : moz-landing-system : lando
2019-03-02 01:23:28 +00:00
Manish Goregaokar
f0768f680c
Bug 1359269 - Part 6: Add support for attributes on types in dictionaries; r=bzbarsky
...
Depends on D19737
Differential Revision: https://phabricator.services.mozilla.com/D19738
--HG--
extra : moz-landing-system : lando
2019-03-02 01:23:23 +00:00
Manish Goregaokar
1b42f1d75d
Bug 1359269 - Part 5: Add support for attributes on types in arguments; r=bzbarsky
...
Depends on D19736
Differential Revision: https://phabricator.services.mozilla.com/D19737
--HG--
extra : moz-landing-system : lando
2019-03-02 01:23:21 +00:00
Manish Goregaokar
d9f6bbadd9
Bug 1359269 - Part 3: Add a codegen test; r=bzbarsky
...
Depends on D19734
Differential Revision: https://phabricator.services.mozilla.com/D19735
--HG--
extra : moz-landing-system : lando
2019-03-02 01:23:12 +00:00
Cosmin Sabou
679b5e2db1
Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
...
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight
93b3b0138c
Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
...
This patch was generated by my modeline.py script.
MozReview-Commit-ID: EbVjPLwiUAT
Depends on D4159
Differential Revision: https://phabricator.services.mozilla.com/D4161
--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Boris Zbarsky
bbb35f3bbb
Bug 1375829 part 5. Switch from using "jsonifier" syntax to the spec's "[Default] toJSON" syntax. r=qdot
2018-05-17 23:43:59 -04:00
Nika Layzell
a0d1f16079
Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
...
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Boris Zbarsky
4565249361
Bug 1424474 part 2. Add a way to request only non-system subject principals in webidl bindings. r=mystor
...
MozReview-Commit-ID: 8ObneI0DoH5
2017-12-20 17:43:18 -05:00
Narcis Beleuzu
edb8ba34eb
Backed out 2 changesets (bug 1424474) for mochitest failures on test_bug494328.html r=backout on a CLOSED TREE
...
Backed out changeset 39d5991f02ba (bug 1424474)
Backed out changeset da3dec2fce06 (bug 1424474)
2017-12-21 02:55:27 +02:00
Boris Zbarsky
e2f384f52a
Bug 1424474 part 1. Add a way to request only non-system subject principals in webidl bindings. r=mystor
2017-12-20 17:43:18 -05:00
Boris Zbarsky
37836d94c0
Bug 1414359. Remove vestigial support for 'creator' operations from webidl; all setters are creators. r=qdot
...
MozReview-Commit-ID: AeRjWxk1YwE
2017-11-04 00:36:10 -04:00
Kyle Machulis
df8270946f
Bug 792059 - Add NeedsWindowsUndef extended attribute for constants; r=bz
...
When defining WebIDL constants in C++, we may need to undefine some
constant names that conflict with windows.h preprocessor defines.
Doing this in the binding header is far easier than tracking down the
include orders that may cause conflicts.
MozReview-Commit-ID: A0UoYezIQs5
--HG--
extra : rebase_source : d9100af2ccdb5c6e6468542ac68f74b2e4f9050c
2017-10-23 17:34:28 -07:00
Ehsan Akhgari
7df8d7beeb
Bug 1406493 - Remove the rest of the attribute deprecation warnings; r=baku f=annevk
2017-10-09 18:26:11 -04:00
Boris Zbarsky
005450266e
Bug 1400139 part 1. Add infrastructure for marking WebIDL interface members as non-enumerable. r=qdot
...
MozReview-Commit-ID: 9F0ZNverS63
2017-09-18 21:24:37 -04:00
Boris Zbarsky
682fe478ec
Bug 1237503. Add support for [Cached] and [StoreInSlot] things on DOM proxies. r=qdot
...
The only difference between proxies and non-proxies is that proxies only support
up to MAX_FIXED_SLOTS slots all told (reserved plus private slot). SpiderMonkey
already has static asserts to make sure we don't ask for too many reserved slots
on a proxy.
2017-05-19 09:24:30 -04:00
John Dai
b32e4c240b
Bug 1309147 - Part 3: Implement the support for CEReactions in Codegen. r=bz
...
MozReview-Commit-ID: F1mxKzlru9s
--HG--
extra : rebase_source : a5e52ef2f3168028dec2c3186e857941953ad517
extra : histedit_source : 2336479daf177cb7ca55ee517c8317852bed09ef
2017-03-08 17:11:48 +08:00
Boris Zbarsky
1471a0e8e3
Bug 1330699 part 10. Rename the MozMap C++ type to "record" and give it a template parameter for the key type. r=qdot
...
Also renames all the test functions to mention "Record" instead of "MozMap".
--HG--
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
2017-02-15 00:01:35 -05:00
Boris Zbarsky
46964f231f
Bug 1330699 part 9. Rename "MozMap" to "record" in our IDL parser and IDL files. r=qdot
...
The key type is unused so far.
--HG--
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
2017-02-15 00:00:17 -05:00
Boris Zbarsky
e0ddbaf935
Bug 1330699 part 4. Add more codegen tests for MozMap in dictionary r=qdot
2017-02-15 00:00:03 -05:00
Boris Zbarsky
538d57c3f6
Bug 1330699 part 2. Change the MozMap API and data storage to more what we want record<> to look like. r=qdot,smaug
2017-02-15 00:00:00 -05:00
Boris Zbarsky
7547c36287
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Iris Hsiao
747c446db4
Backed out changeset f9ae7da00387 (bug 1333480) for bustage
...
CLOSED TREE
2017-01-25 10:44:16 +08:00
Boris Zbarsky
1586a2e95a
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Wes Kocher
29f8528a73
Backed out changeset b8b06fdb30ce (bug 1333480) for build bustage a=backout
...
MozReview-Commit-ID: 7wCiW0N8tby
--HG--
extra : rebase_source : fa619c21ee25c58ab67336cc3c4a9d5692029e5c
2017-01-24 13:57:26 -08:00
Boris Zbarsky
20418bd1bf
Bug 1333480. Disallow indexed getters on interfaces without an integer-typed 'length' attribute. r=qdot
2017-01-24 16:11:33 -05:00
Boris Zbarsky
0fea28b3da
Bug 1330536 part 6. Add tests for code generation for CanOOM members. r=smaug
2017-01-17 23:52:14 -05:00
Boris Zbarsky
c05f2fe396
Bug 1330698. Support string default values for unions containing USVString. r=qdot
2017-01-13 10:41:12 -05:00
Boris Zbarsky
83b5a8468f
Bug 1324178. Actually enforce the various checks the IDL spec says to do for arguments of constructors and named constructors. r=baku
2016-12-19 15:38:42 -08:00
Boris Zbarsky
f74b8c3888
Bug 1323274. Disallow nullable Promise types. r=qdot
2016-12-16 14:06:54 -05:00
Edgar Chen
881cbd80bd
Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
...
MozReview-Commit-ID: 6egmavfTmFT
2016-11-17 23:31:50 +08:00
Sebastian Hengst
5e1b29b9c0
Backed out changeset f2a5fc3e8c4e (bug 1274159)
2016-12-14 13:27:22 +01:00
Edgar Chen
da0139302c
Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements; r=bz,wchen
...
MozReview-Commit-ID: 6egmavfTmFT
--HG--
extra : rebase_source : 07436a4b8dfc1960f0cc24b67b8cc5d1e2ffd5cd
2016-11-17 23:31:50 +08:00
Boris Zbarsky
282d7c0569
Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley
2016-11-11 16:09:05 -05:00
Boris Zbarsky
d5fd55b992
Bug 1021289 part 2. Remove support for indexed deleters, since they're gone from the spec. r=peterv
2016-11-04 12:41:26 -04:00
Boris Zbarsky
3f10f5ed57
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Boris Zbarsky
e8c8715cfb
Bug 1297756
part 2. Allow specifying a default value for a union containing an enum. r=mystor
2016-08-30 12:55:17 -04:00
Michael Layzell
164944c0c0
Bug 1292293 - Part 1: Update the WebIDL Parser to allow default values for ByteString, r=bz
...
--HG--
extra : rebase_source : 8d031a5a34e4bb75a3432e23e625370cbcea0dae
2016-08-05 17:46:54 -04: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
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
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
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
3ebd37957e
Bug 1274049. Make sure we actually codegen our various test callbacks in bindings codegen tests. r=peterv
2016-05-19 13:48:11 -04:00