Boris Zbarsky
a66c62ea91
Bug 1352996. Remove vestige of AvailableIn/CheckAnyPermissions/CheckAllPermissions from WebIDL.py. r=qdot
...
MozReview-Commit-ID: HsvhRefytXQ
2017-04-05 23:04:26 -04:00
Boris Zbarsky
af7a6137cc
Bug 1291397. Work around clang bug that they didn't actually manage to ship a fix for which causes it to give spurious warnings it shouldn't be giving, which are then fatal due to -Werror. r=dholbert
...
MozReview-Commit-ID: GbMEvoxGpH1
2017-03-31 17:09:48 -04:00
Xidorn Quan
c84000415d
Bug 1345696 part 2 - Move nsCSSFontFaceRule to a separate header. r=heycam
...
MozReview-Commit-ID: 5UsODlVQV7a
--HG--
extra : rebase_source : 48ed07a86666fd313786ca03818947b10ca7a2ce
2017-03-29 10:20:40 +11:00
Ben Kelly
4ffa062ade
Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz
2017-03-24 15:27:11 -04:00
Andrea Marchesini
1fd1bc3935
Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
...
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01: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
Ehsan Akhgari
adb77fecec
Bug 1348452 - Give createImageBitmap() an implicit JSContext*; r=baku
2017-03-18 11:55:31 -04:00
kvark
a38edf6b85
Bug 1348111 - Clarify the error message. r=smaug
...
--HG--
extra : rebase_source : dee38b43c0eb7470c2861e78c9d6bd1e653a2db7
2017-03-16 18:51:00 -04:00
Xidorn Quan
cc3896262e
Bug 1345698 part 4 - Create a new CSSNamespaceRule as a base class. r=heycam
...
MozReview-Commit-ID: 5QvGWfb18cY
--HG--
extra : rebase_source : 1a85b59a71ca920371bc94bf4376e4e42863f6df
2017-03-14 18:50:28 +11:00
Xidorn Quan
05122c4a24
Bug 1315601 part 15 - Move some common methods to a new CSSMediaRule binding class. r=heycam
...
MozReview-Commit-ID: GWpIzTex2le
--HG--
extra : rebase_source : bac2c6fe225ddc19b107de66986623627ce51a8d
2017-03-09 17:37:38 +11:00
Xidorn Quan
85464df1c1
Bug 1315601 part 3 - Add base class MediaList and move part of nsMediaList to it. r=heycam
...
MozReview-Commit-ID: A2uJpbGgO55
--HG--
extra : rebase_source : 40a9171307b6a30288169e27caa43595349d2df7
2016-11-09 17:28:24 +11:00
Andrea Marchesini
12b54aa0f5
Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm
2017-03-08 20:15:45 +01:00
Michael Layzell
e66a0f7027
Bug 1331434 - Part 5: Mark some Throw calls in /dom/bindings as having custom cleanup, r=baku
...
MozReview-Commit-ID: CooKyfkMlWq
2017-03-07 19:06:48 -05:00
Michael Layzell
46ade67ada
Bug 1331434 - Part 2: Add MOZ_MAY_CALL_AFTER_MUST_RETURN and MOZ_MUST_RETURN_FROM_CALLER annotations, r=ehsan
...
MozReview-Commit-ID: 1o2egvdhkqT
2017-03-07 19:06:48 -05:00
Jon Coppeard
82cbd987a2
Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8
2017-03-02 10:22:47 +00:00
Phil Ringnalda
13720d9c89
Merge m-c to m-i
2017-02-25 13:35:20 -08:00
Jan de Mooij
76f56574e3
Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke
2017-02-25 16:07:56 +01:00
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
Andrew McCreight
aee8d03ee6
Bug 1322400 - Add content-exposed GC and CC functions to fuzzing builds. r=smaug
...
MozReview-Commit-ID: 5iV4RDZxZIl
--HG--
extra : rebase_source : bd350d5ffdc4702199edab8c8549d7880182e99c
2017-02-22 11:05:50 -08: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