Commit Graph

580 Commits

Author SHA1 Message Date
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
Edgar Chen
5fedbb92b8 Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
MozReview-Commit-ID: HgbFo9ddr0o

--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Boris Zbarsky
022fdd6e61 Bug 1424362. Change test_exceptionSanitization.html to not depend on feed: protocol bits, because those are going away. r=qdot
MozReview-Commit-ID: ESBwyNuMF9X
2017-12-08 22:01:16 -05:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Jonathan Watt
b26557dd95 Bug 1417365 - Unified build issues in dom/bindings. r=baku 2017-10-26 11:12:44 +01: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
Andrew McCreight
298aa82710 Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL

--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Tom Schuster
d3b457113a Bug 638054 - Remove or fix tests outside JS using watch/unwatch. r=bz,fitzgen 2017-10-24 20:48:14 +02:00
Boris Zbarsky
6a07397359 Bug 1354730. Disable named property object (aka global scope polluter) behavior for all Xrays. r=kmag
MozReview-Commit-ID: KmbXFfSzH0N
2017-10-16 10:58:09 -04: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
15194f2f07 Bug 1400275. Ensure we create reflectors for JS-implemented webidl interfaces with the right prototype when those interfaces are subclassed. r=qdot
MozReview-Commit-ID: 5yYD92NVVFQ
2017-09-15 23:45:06 -04:00
Boris Zbarsky
056d8fe612 Bug 1395421 part 2. When a get() happens on a JS-implemented maplike, notify the JS implementation so it can take some sort of action (e.g. logging or warning). r=peterv
MozReview-Commit-ID: 9G115wOyzvm
2017-08-31 22:45:53 -04:00
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