Jeff Walden
a80694a3cb
Bug 1339652
- Delete UnionMember's copy constructor, because it can't safely be used in the C++ object model. r=bz
...
--HG--
extra : rebase_source : fff9dc6738c4929f8e6f32c866f68778875ddab8
2017-02-14 11:23:40 -08:00
Jessica Jong
cf17189117
Bug 1340086 - Remove uses of AnimationsPaused() since it is always false after bug 1316330. r=mrbkap
2017-02-22 01:00:00 -05:00
David Major
ec8b79d7fd
Bug 1339275: Define JSPropertySpec values in a way that's easier for Visual Studio to initialize. r=Waldo
...
MozReview-Commit-ID: BMCunTjUapN
2017-02-22 10:11:54 +13:00
Andrea Marchesini
3043646e52
Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug
...
--HG--
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
2017-02-16 18:26:38 +01:00
Tooru Fujisawa
918d55e6ea
Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley
2017-02-15 23:53:06 +09:00
Boris Zbarsky
41700419ad
Bug 1339540 part 3. Use nsresult values in the ErrorResult error module in place of NS_ERROR_TYPE_ERR/NS_ERROR_RANGE_ERR in ErrorResult code. r=smaug
2017-02-15 00:02:36 -05:00
Boris Zbarsky
2816ec4748
Bug 1339540 part 2. Move the three ErrorResult-internal NS_ERROR_DOM_* values over to the ErrorResult error module. r=smaug
2017-02-15 00:02:35 -05:00
Boris Zbarsky
a449ccb8fa
Bug 1333045. Update Location object properties to current spec. r=qdot
...
Specifically, three changes:
1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.
The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Boris Zbarsky
18a2013469
Bug 1330699 part 13. Implement the spec provision for handling repeated keys in records by updating the existing value. r=qdot
2017-02-15 00:01:41 -05:00
Boris Zbarsky
063d0caa78
Bug 1330699 part 12. Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says. r=qdot
2017-02-15 00:01:39 -05:00
Boris Zbarsky
90896220ac
Bug 1330699 part 11. Add ConvertJSValueTo*String functions that just take a value and hand out a string, without extra complications. r=qdot
2017-02-15 00:01:37 -05: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
f096eee1f8
Bug 1330699 part 8. Split up PrimitiveOrStringType into PrimitiveType and StringType in the Web IDL parser. r=qdot
2017-02-15 00:00:07 -05:00
Boris Zbarsky
dd02756287
Bug 1330699 part 7. Change JS to MozMap conversion to more closely follow the record<> spec. r=qdot
...
The spec says to get all the property keys, then check each one for
enumerability before doing the Get(). Our current code, before this change,
asks for all the _enumerable_ keys instead, which is observably different when
proxies are involved.
2017-02-15 00:00:06 -05:00
Boris Zbarsky
c41dd5c904
Bug 1330699 part 6. Add some tests for distinguishability of unions. r=qdot
2017-02-15 00:00:05 -05:00
Boris Zbarsky
c2ed802c58
Bug 1330699 part 5. Disallow mozmap-typed constants. r=qdot
2017-02-15 00:00:04 -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
42aec147f1
Bug 1330699 part 3. Fix up some minor issues with default value handling in codegen. r=qdot
2017-02-15 00:00:01 -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
Andi-Bogdan Postelnicu
b877576a5c
Bug 1335000 - return type& for copy assignment operator. r=peterv
...
MozReview-Commit-ID: 7kHt2l30ZP6
--HG--
extra : rebase_source : 3ef1cb0583238d9508153f4ddbbd402930f70706
2017-02-01 17:54:49 +02:00
Kris Maglione
d0f62ee58a
Bug 1336988: Correctly handle dead callback objects when iterating over event listeners. r=peterv
...
MozReview-Commit-ID: 5vGlPL1p3uh
--HG--
extra : rebase_source : 7e33d93472faa1c047361addf8b15f8a78639255
2017-02-06 11:34:56 -08:00
Brian Hackett
01a649c197
Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
...
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00
Boris Zbarsky
15fc53a58f
Bug 1328861. Be a little less trusting about our error codes in ErrorResult. r=smaug
2017-02-10 23:06:34 -05:00
Boris Zbarsky
e1a9c1904b
Bug 1338417. Make @@iterator properties on DOM prototypes not enumerable, to match IDL spec. r=qdot
2017-02-10 23:06:14 -05:00
Boris Zbarsky
cb6b07df97
Remove bogus comments. Note that toJSON is no longer reserved in the spec as of < https://github.com/heycam/webidl/pull/293 >. No bug, DONTBUILD.
2017-02-09 22:12:15 -05:00
Andrea Marchesini
16bc4a8d06
Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug, r=rjesup
2017-02-07 08:58:35 +01:00
Boris Zbarsky
077e1ba24c
Bug 1333556. Assert that an ErrorResult passed to a WebIDL callback as an outparam is not already-failed. r=peterv
2017-02-06 17:00:47 -05:00
Joel Maher
c203f27827
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst
7225ec6170
Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE
2017-02-06 16:21:20 +01:00
Joel Maher
60e61eed48
Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
...
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Andrea Marchesini
c58769de70
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-03 08:35:19 +01:00
Andrea Marchesini
899a146699
Bug 1336018 - Get rid of objectURLOptions dictionary in URL.createObjectURL, r=smaug
2017-02-03 08:28:52 +01:00
Andrea Marchesini
2134b5e0e7
Bug 1336044 - No needs of JSContext in SharedWorker CTOR, r=qdot
2017-02-03 07:46:22 +01:00
Phil Ringnalda
abe2443efb
Merge m-c to m-i
2017-02-02 21:26:26 -08: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
Sebastian Hengst
3b7bb25ac6
Backed out changeset bf20544a7385 (bug 1336043) for failing wpt interfaces.worker.html. r=backout
2017-02-02 17:35:46 +01:00
Sebastian Hengst
cf329a5f4a
Backed out changeset 95fe30082f2c (bug 1334564)
2017-02-02 16:51:18 +01:00
Andrea Marchesini
8aa589ac59
Bug 1336043 - close() should be in DedicatedWorkerGlobalScope and SharedWorkerGlobalScope only, r=bkelly
2017-02-02 16:15:24 +01:00
Andrea Marchesini
8f2647aa6b
Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug
2017-02-02 15:25:54 +01: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
Jeff Gilbert
195cc8411d
Bug 1335296 - Expand about:support WebGL information. - r=qdot,daoshengmu,jrmuizel
...
MozReview-Commit-ID: 166aNL6VSOa
2017-02-02 16:50:19 -08:00
Boris Zbarsky
da79ef55fe
Bug 1335368 part 8. Stop using IsCallerChrome in UnwrapArgImpl. r=bholley
2017-02-01 15:43:37 -05:00
Boris Zbarsky
99d6a6c7d9
Bug 1335368 part 6. Add a SystemCallerGuarantee class that we use for [ChromeOnly, NeedsCallerType] cases. r=bholley
2017-02-01 15:43:36 -05:00
Boris Zbarsky
7583017cd2
Bug 1335368 part 5. Stop using IsCallerChrome in nsINode. r=bholley
2017-02-01 15:43:36 -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
Brian Hackett
8033ed29a8
Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv.
...
--HG--
extra : rebase_source : 53cf4fa94f122a991c2adbd7bae3714de4391bb4
2017-01-30 06:31:47 -07:00
Boris Zbarsky
39d50c2647
Bug 1332713 part 4. Make Promise-returning getters return a rejected Promise on exception instead of throwing. r=qdot
2017-01-27 18:53:37 -05:00