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

3607 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack e3ca5e1f4a Bug 1141916 - Part 2: Support [ChromeOnly] on dictionary members. r=peterv 2016-06-02 12:14:24 -04:00
Cameron McCormack fe6930a402 Bug 1141916 - Part 1: Store extended attributes on IDLArguments. r=peterv 2016-06-02 12:10:56 -04: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 7e52059153 Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv 2016-06-02 10:34:39 -04:00
Kaku Kuo fca7b0b604 Bug 1141979 - part8 - implement ImageBitmap extensions; r=jrmuizel
MozReview-Commit-ID: Bc6HoqRLMNB

--HG--
extra : transplant_source : %89%E9Q%FD4%ED%FD%EC5pqq%AF%C6%90%E0y%A2%88%12
2016-04-27 13:03:01 +08:00
Nicholas Nethercote 2fda0872c8 Bug 1267551 (part 10) - Use MOZ_MUST_USE in AutoVectorRooterBase. r=terrence.
This patch fixes numerous unchecked calls.

--HG--
extra : rebase_source : 566f2ca9fba1c8b18fa7ec1753168dbae9cf70d1
2016-06-01 15:49:04 +10:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E) 8687d34336 Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Nathan Froyd 1578760736 Bug 1272813 - part 3 - try to take advantage of string sharing in JSEventHandler::HandleEvent; r=peterv
The Rebind() call in HandleEvent was attempting to be clever by sharing
string data with the error event's message.  Unfortunately, we
eventually needed to pass the message out to JS, which required copying
the string for JS's purposes.  Fortunately, we can attempt to be even
more clever by noticing whether the error event's message is already
allocated as a string buffer and sharing that, rather than just the raw
data.  In the best case, the string buffer can be shared out to JS and
we avoid some needless copying.
2016-06-01 16:26:59 -04:00
Nathan Froyd a4f2ce0263 Bug 1272813 - part 2 - factor out a AssignFromStringBuffer method in FakeString; r=peterv
We're shortly going to have multiple ways to assign an nsStringBuffer
into FakeString, so we might as well put the common code somewhere
useful.
2016-06-01 16:26:59 -04:00
Andrea Marchesini e004a6613e Bug 1276887 - webidl "Deprecated" keyword should work in workers, r=smaug 2016-06-01 12:15:34 +02:00
Olli Pettay b6345324c6 Bug 1276424 - EventListenerWasAdded/Remove doesn't work in JS implemented webidl because of missing 'override', r=bz
--HG--
extra : rebase_source : 9bc0109e898b462b500fb40da836c0fb8660b18e
2016-05-31 23:05:55 +03:00
Wes Kocher 043b2fdedd Backed out changeset e5f0088f8ca2 (bug 1276887) for WorkerPrivate assertions CLOSED TREE 2016-05-31 11:31:29 -07:00
Andrea Marchesini e7015103b0 Bug 1276887 - webidl "Deprecated" keyword should work in workers, r=smaug 2016-05-31 17:46:52 +02:00
Boris Zbarsky dc120449d2 Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey 2016-05-27 20:26:56 -04:00
Bill McCloskey efab9ca4b1 Bug 1276353 - Use UncheckedUnwrap in DOMInstanceOf (r=mrbkap) 2016-05-27 17:22:20 -07:00
Bill McCloskey 291c555f34 Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
Joel Maher 8e50d588fd Bug 1269872 - adjust manifests of all jobs that require a gpu. r=RyanVM,jgilbert
dom/media/tests/mochitests/test_peerConnection_captureStream_canvas_webgl.html has an issue on android as it is moved from mochitest-media -> mochitest-gpu.
dom/bindings/test/test_integer.html uses experimental-webgl, it might need to be picked up in a future cleanup.

MozReview-Commit-ID: GJKn7ubY7tL
2016-05-25 16:22:27 -04:00
Andi-Bogdan Postelnicu 0e85273c99 Bug 1273072 - initialize |mNameOffset|, |mNameLength|, |mDefine|, |mEnabled|. r=peterv
MozReview-Commit-ID: 49fNxcG2C1

--HG--
extra : rebase_source : b30973f381bbc627fc133849b76783b4eddffa7e
2016-05-16 12:04:50 +03:00
Boris Zbarsky bfc23d53a8 Bug 1273661 part 3. Add the codegen bits and Trace implementation to allow Web IDL callbacks to not have to HoldJSObjects until the bindings have determined that someone is actually holding on to the callback object. r=smaug,terrence 2016-05-18 12:23:35 -04:00
Boris Zbarsky 46fb203b06 Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug 2016-05-18 12:23:35 -04:00
Boris Zbarsky 24fa4ec444 Bug 1273661 part 1. Add a way to construct a callback object without calling HoldJSObjects. r=smaug 2016-05-18 12:23:35 -04:00
Boris Zbarsky 2b85094faf Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham 2016-05-20 23:13:17 -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
Boris Zbarsky 61b3aedfa3 Backed out changesets bdb5b50fd858, 74dbcb56456d, 8f319062be85, 9806d7a88802, c08f417d85fd (bug 1273661) for build bustage and CLOSED TREE. 2016-05-19 00:26:24 -04:00
Boris Zbarsky 5938137a2b Bug 1273661 another followup. Guess that msvc is not being happy with OwningNonNull not being pulled in here. r=STILL CLOSED TREE 2016-05-19 00:01:43 -04:00
Boris Zbarsky 1a82ba56e3 Bug 1273661 followup. We need different RootedCallback destructors for the OwningNonNull and RefPtr cases, unfortuntately. r=CLOSED TREE 2016-05-18 23:38:23 -04:00
Boris Zbarsky 893059f88a Bug 1273661 part 3. Add the codegen bits and Trace implementation to allow Web IDL callbacks to not have to HoldJSObjects until the bindings have determined that someone is actually holding on to the callback object. r=smaug,terrence 2016-05-18 12:23:35 -04:00
Boris Zbarsky 8c3af4a958 Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug 2016-05-18 12:23:35 -04:00
Boris Zbarsky 384428f2af Bug 1273661 part 1. Add a way to construct a callback object without calling HoldJSObjects. r=smaug 2016-05-18 12:23:35 -04:00
Jonathan Watt 55bfea4bac Bug 1177957, part 4 - Tests for the [SecureContext] WebIDL extended attribute. r=bz
MozReview-Commit-ID: IodQqQ3rAfI
2016-05-16 10:04:38 +01:00
Jonathan Watt 1f58b22c60 Bug 177957, part 3 - Make the WebIDL code generator support the [SecureContext] extended attribute. r=bz
MozReview-Commit-ID: 3O3V4MTgLuR
2016-05-16 10:04:38 +01:00
JMortelliti b122e889a9 Bug 1015318 - Factor out the common code from IDLNullableType, IDLSequenceType, and IDLMozMapType into a new superclass, IDLParameterizedType. r=bzbarsky
MozReview-Commit-ID: 20darfFam9f
2016-05-14 10:17:44 -04:00
Jonathan Watt c708a6bc4b Bug 1177957, part 2 - WebIDL parser tests for the [SecureContext] extented attribute. r=bz
MozReview-Commit-ID: 7hIblAhdBYw
2016-05-13 23:11:16 +01:00
Jonathan Watt 057734ea40 Bug 1177957, part 1 - Make the WebIDL parser support the [SecureContext] extented attribute. r=bz
MozReview-Commit-ID: Hm6ZvBoGeUj
2016-05-13 23:11:16 +01:00
James Graham 2d4b6790d3 Bug 1272698 - Allow specifying tests in |mach webidl-parser-test|, r=gps
MozReview-Commit-ID: 8i6qgdF963i

--HG--
extra : rebase_source : b4a1a4db6545ddfc481429c6fac39edd75c9af87
2016-05-13 17:58:46 +01:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Boris Zbarsky 3c3e4fad9c Bug 1272160. Fix XPCWrappedNativeScope::AddSizeOfIncludingThis to not blindly poke at non-DOM globals as if they were DOM globals. r=khuey
I did audit the XPConnect callers of TraceProtoAndIfaceCache and DestroyProtoAndIfaceCache, and they all check JSCLASS_DOM_GLOBAL.
2016-05-13 20:21:40 -04:00
Jeff Muizelaar 1838c2a407 Bug 1272442. Make RootedDictionary, NullableRootedDictionary and SequenceRooter final. r=ehsan
This eliminates a bunch of clang warnings.
2016-05-12 15:01:27 -04:00
Ben Kelly cab3fd4eb2 Bug 1271905 P1 Don't crash if a closed cache::ReadableStream is serialized. r=asuth 2016-05-12 07:29:20 -07:00
Xidorn Quan 114633161f Bug 1268798 part 3 - Add LenientSetter extended attribute. r=khuey
MozReview-Commit-ID: 61wybyS36KE

--HG--
extra : source : 98e1ae5fa2ddf5308fba6e09b47cbb831c60ac8a
2016-05-12 10:28:56 +10:00
Xidorn Quan fe0ed0d00a Bug 1268798 part 2 - Add result summary for WebIDL parser test. r=khuey
MozReview-Commit-ID: DMgATDa9yXX

--HG--
extra : source : 94aba7834b4c813251b8a8714ef7a9b10b1f3603
2016-05-12 10:28:56 +10:00
Xidorn Quan 82fa51890c Bug 1268798 part 1 - Fix exception whitelist in WebIDL parser. r=khuey
MozReview-Commit-ID: 5rBXjHgQuGd

--HG--
extra : source : 0fbdf91d6cec99db9baf0646c372da0f5cb664e4
2016-05-12 10:28:56 +10:00
Boris Zbarsky 20a2c90769 Bug 1268845. Make sure to set up an XPCWrappedNativeScope for SimpleGlobalObject globals on the main thread. r=bholley,ttaubert,ejpbruel 2016-05-10 20:57:29 -04:00
Peter Van der Beken 5c9bb43e9d Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz.
--HG--
extra : rebase_source : 073ec0857b63df3e2ecef43ef3b982f2e1be2d24
2016-05-09 17:08:31 +02:00
Boris Zbarsky 59de5a530f Bug 1270349 part 5. Use LegacyUnenumerableNamedProperties instead of passing flags to GetSupportedNames to determine whether named props on DOM proxies should be reflected in ownPropertyKeys. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky 76180fb5a7 Bug 1270349 part 4. Use LegacyUnenumerableNamedProperties instead of NameIsEnumerable() calls to determine whether named props on DOM proxies should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky 919ca7517c Bug 1270349 part 3. Add a way to ask an interface descriptor for a proxy whether its named props should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky eb97fe75ff Bug 1270349 part 1. Add IDL parser support for [LegacyUnenumerableNamedProperties]. r=peterv 2016-05-09 22:25:40 -04:00
Jeff Gilbert cb6a19b2c4 Bug 1229332 - Add webidl for EXT_color_buffer_float. - r=bz 2016-05-04 15:48:11 -07:00