Граф коммитов

566 Коммитов

Автор SHA1 Сообщение Дата
Alphan Chen 252278116e Bug 1362075 - Correct window.open() URL failure exception. r=ehsan
--HG--
extra : rebase_source : 6a9e42e6b6528890631c89b14684578cc8475364
2017-08-08 02:07:00 +02:00
Christoph Kerschbaumer 432d6fc782 Bug 1366695: Convert dom/bindings/test/test_barewordGetsWindow.html to comply with new data: URI inheritance model. r=smaug 2017-08-03 21:00:41 +02:00
Sylvestre Ledru 4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Ting-Yu Chou a1814c7263 Bug 1348099 part 2 - Add tests for DOM Xrays that properties are exposed to only proper object types. r=bz
MozReview-Commit-ID: Iu86lAviFJK

--HG--
extra : rebase_source : ac0df64b504212a090934427e2c091eb40641877
2017-06-22 14:43:11 +08: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
Jan de Mooij b86962b1de Bug 1133423 - Optimize sets of expando properties and expando setter calls on DOM proxies. r=evilpie 2017-03-22 09:08:08 +01: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
Jeff Walden 965f401e22 Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz
--HG--
extra : rebase_source : cbdd6e33cc69f58983a4b6ce97642caf54ddbc9a
2017-02-13 09:07:40 -08:00
Andrea Marchesini 899a146699 Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug 2017-02-03 08:28:52 +01:00
Phil Ringnalda d685853b46 Merge autoland to m-c, a=merge 2017-02-02 20:52:46 -08:00
Boris Zbarsky bcc1d4ab44 Bug 1335654 part 3. Implement actually throwing a SecurityError when cross-origin property accesses are denied. r=bholley 2017-02-02 12:48:49 -05:00
Mike Shal 795f995ed4 Bug 1335796 - Move WebIDL parser tests out of 'make check'; r=dustin,Ms2ger
This test suite involves a bunch of python tests which don't require
configure or any generated binaries to run. We can split them out into a
Taskcluster linter type task to run directly on the source tree in
parallel with builds.

MozReview-Commit-ID: 9ux3rAuFXAY

--HG--
extra : rebase_source : 95378cd686644e34ea017c682d7384906b17d13a
2017-01-31 19:08:50 -05:00
Boris Zbarsky c41740271d Bug 1334537. Make sure to clear out our external string cache if the length doesn't match, since our length no longer needs to match our stringbuffer. r=froydnj
Without this change, we could do a "short" get of a string (e.g. from
XMLHttpRequest), then do another get that returns the same stringbuffer but a
longer length.  But we wouldn't notice, hit our cache, and return the same,
too-short, external string.  The site would not see the new data it should have
seen.
2017-02-01 15:29:47 -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
Jan de Mooij 620a16d8f8 Bug 965992 part 4 - Add tests. r=bz 2017-01-07 10:22:30 +01:00
Boris Zbarsky 60309db42a Bug 1323324 tests. r=till
--HG--
rename : dom/promise/tests/test_promise_xrays.html => dom/promise/tests/test_promise_argument_xrays.html
2016-12-19 15:38:44 -08: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
Jan-Ivar Bruaroey 19a630af33 Bug 1263312 - Have addIceCandidate take a dictionary. r=drno,smaug
MozReview-Commit-ID: HuWYZkGS2Wg

--HG--
extra : rebase_source : 783233029b9e5ed37cd2cce7738a59753e1d42a0
2016-11-08 21:36:04 -05:00
Tooru Fujisawa ca98c3a8c4 Bug 883377 - Part 6: Update browser and dom tests to follow displayName change. r=smaug 2016-12-03 07:44:23 +09:00
André Bargull 8843a98210 Bug 1319936 - Remove String generics uses in dom. r=billm
--HG--
extra : rebase_source : f2b40e5d4a423035d2de8739570a76305a058cf0
2016-11-24 13:17:00 -08:00
Boris Zbarsky 099ef6f007 Bug 1315135. Remove the RegExp (and some Date) special casing from our dictionary conversions and Web IDL overload resolution. r=peterv 2016-11-23 22:57:29 -05:00
Peter Van der Beken 3f830565b0 Bug 1287912. r=bz
--HG--
extra : rebase_source : 68af5c520e775f3c92cb99d192f73a3300c2a0cf
2016-11-23 16:58:59 -05:00
Boris Zbarsky 282d7c0569 Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley 2016-11-11 16:09:05 -05:00
Sebastian Hengst 86cdc9e867 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/bindings. r=RyanVM
MozReview-Commit-ID: I4N8FiO3ECo

--HG--
extra : rebase_source : a16876cf8b570111c9f38a4379cdea006b037682
2016-11-05 11:29:14 +01:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Boris Zbarsky 598f3f4180 Bug 1021289 part 4. Implement support for WebIDL deleters over Xrays. r=peterv 2016-11-04 12:41:26 -04: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
Michelangelo De Simone 80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Boris Zbarsky e158454b4e Bug 1309970. Add a way to return frozen arrays to chrome callers with a .contains defined on them, returning the same value as .includes. r=qdot 2016-10-13 22:14: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 695f3ad671 Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley 2016-10-10 18:16:26 -04:00
Tooru Fujisawa d7c8c69a03 Bug 1290337 - Part 17: Replace Value parameter to const Value& in dom/bindings. r=smaug 2016-09-11 18:15:24 +09:00
Andrea Marchesini 47e3640d27 Bug 1297393 - Make passing of subject principals to webidl entry points explicit - part 1 - WebIDL [NeedsSubjectPrincipal], r=ehsan, r=peterv 2016-09-29 08:55:19 +02: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
Boris Zbarsky 17194b94cf Bug 1295322 followup: disable the test on Android, where we have no feed: handler and hence get a CLOSED TREE. 2016-08-26 17:15:53 -04:00