Commit Graph

3645 Commits

Author SHA1 Message Date
Mantaroh Yoshinaga
8bc07a20e3 Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
MozReview-Commit-ID: CqqDlHQsm0p

--HG--
extra : rebase_source : 4495e289009af105b61413526ffd03200b5bee6b
2016-06-29 11:13:45 +09:00
Boris Chiou
03d90dd78b Bug 1244590 - Part 3: Parse spacing. r=birtles
We only support spacing mode from Web Animations API, so add a simple parser and
use it only from the API. In this patch, parse spacing mode from the constructor
and throw TypeError if we have any parse error.

MozReview-Commit-ID: 9H7g80IcZfZ

--HG--
extra : rebase_source : e1bc781ff0f20a1a38c04e672832ec013edc549d
2016-05-13 16:38:25 +08:00
Wes Kocher
8414c26e20 Merge m-c to inbound, a=merge 2016-06-27 14:09:06 -07:00
Wes Kocher
cd463132d8 Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)

--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Mantaroh Yoshinaga
5b4de2dcff Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
MozReview-Commit-ID: CqqDlHQsm0p

--HG--
extra : rebase_source : 6f6f4583ffa57a4375af62c64a76081902b1f361
2016-06-27 08:09:32 +09:00
Boris Zbarsky
4eb82c0b30 Bug 1281071. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley 2016-06-23 19:39:53 -04:00
Mike Shal
17d3cc636b Bug 1273579 - Move GenerateCSS2PropertiesWebIDL.py invocation to moz.build; r=ted
MozReview-Commit-ID: 4OdSORktwis
2016-05-16 15:43:56 -04:00
Mike Shal
368c6bdec3 Bug 1273579 - Create main() function in GenerateCSS2PropertiesWebIDL.py; r=ted
MozReview-Commit-ID: 1R4L8Yvuzb2
2016-05-16 15:28:48 -04:00
Andrea Marchesini
aac2306f2c Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970 Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Andrea Marchesini
37ac18fc67 Bug 1269162 - part 6 - Merge XMLHttpRequestWorker and XMLHttpRequestMainThread, r=smaug
--HG--
rename : dom/xhr/nsXMLHttpRequest.cpp => dom/xhr/XMLHttpRequestMainThread.cpp
rename : dom/xhr/nsXMLHttpRequest.h => dom/xhr/XMLHttpRequestMainThread.h
2016-06-27 19:13:41 +02:00
Andrea Marchesini
ec2c86347e Bug 1269162 - part 5 - Merge XMLHttpRequestUploadWorker and XMLHttpRequestUpload, r=smaug 2016-06-27 19:13:41 +02:00
Andrea Marchesini
7c9f17d89a Bug 1269162 - part 4 - Move XMLHttpRequestEventTarget in separate files, r=smaug 2016-06-27 19:13:41 +02:00
Andrea Marchesini
d3028d3755 Bug 1269162 - part 2 - Move XHRUpload in workers to XMLHttpRequestUploadWorker, r=smaug
--HG--
rename : dom/workers/XMLHttpRequestUpload.cpp => dom/workers/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUpload.h => dom/workers/XMLHttpRequestUploadWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
e8f16c81be Bug 1269162 - part 1 - Move XHR in workers to XMLHttpRequestWorker, r=smaug
--HG--
rename : dom/workers/XMLHttpRequest.cpp => dom/workers/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequest.h => dom/workers/XMLHttpRequestWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
82f92bee37 Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly 2016-06-12 16:26:51 +02:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrea Marchesini
1264ad2da5 Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug 2016-06-09 12:44:54 +02:00
Andrea Marchesini
d84e87b425 Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug 2016-06-09 12:43:56 +02:00
Andrea Marchesini
e7022433c4 Bug 1278835 - Renaming nsPerformanceNavigation to mozilla::dom::PerformanceNavigation, r=smaug 2016-06-09 12:43:02 +02:00
Andrea Marchesini
c1ff80c475 Bug 1278834 - Renaming nsPerformanceTiming to mozilla::dom::PerformanceTiming, r=smaug 2016-06-09 12:42:43 +02:00
Andrew Sutherland
af016de2cb Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache.  There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Andrea Marchesini
43a1cd6c16 Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking 2016-06-08 07:12:05 +02:00
Jonas Sicking
23a4858f1f Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj 2016-06-07 02:46:03 -07:00
Jan de Mooij
66faed38af Bug 1277278 part 1 - Remove ContextOptions and make autoJSAPIOwnsErrorReporting the default. r=luke
--HG--
extra : rebase_source : aa1dcba100a3bb7a5057b07284cf4a99353afe5a
2016-06-07 20:30:48 +02:00
James Graham
5eb8c8dd4e Bug 1277039 - Fix output of |mach webidl-parser-test| to be less verbose by default, r=gps
MozReview-Commit-ID: AiMiksDzUdt

--HG--
extra : rebase_source : 3125cd305459a8080c3b266b07c199937bc36c5c
2016-06-06 17:52:24 +01:00
Boris Zbarsky
0f8a633cfe Bug 1277401 part 5. Change dictionary codegen to output Func stuff as needed. r=peterv 2016-06-07 10:34:54 -04:00
Boris Zbarsky
7a576733a8 Bug 1277401 part 4. Fix up includes for dictionary members with [Func] on them. r=peterv 2016-06-07 10:34:54 -04:00
Boris Zbarsky
5b496a675c Bug 1277401 part 3. Add IDL parser support for [Func] on dictionary members. r=peterv 2016-06-07 10:34:54 -04:00
Boris Zbarsky
d3289bfcf8 Bug 1277401 part 2. Fix up includes for dictionaries that have [ChromeOnly] members. r=peterv 2016-06-07 10:34:54 -04:00
Boris Zbarsky
df8eeb6742 Bug 1277401 part 1. Factor out the condition list generation for pref/func so we can reuse it for dictionary members. r=peterv 2016-06-07 10:34:53 -04:00
Carsten "Tomcat" Book
f70103867d Backed out changeset 555091dfb391 (bug 1263991) for bustage on a CLOSED TREE 2016-06-07 12:10:43 +02:00
Jonas Sicking
be1a3a8e1d Bug 1263991 part 1: Remove some properties that are not needed right now. r=djvj 2016-06-07 02:46:03 -07:00
Andrea Marchesini
c30cdb7269 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
Andrea Marchesini
be787b709b Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv 2016-06-04 09:31:44 +02:00
Ms2ger
595eb44ead Bug 1273499 - Move some code around in CallSetup::CallSetup() to avoid code repetition; r=bz
This has been possible since changeset d5f6867173c9 (bug 1262630).
2016-06-03 11:11:45 +02:00
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