Commit Graph

70725 Commits

Author SHA1 Message Date
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
David Major
bace46558f Bug 1419771 followup: fix mingw build bustage 2018-01-09 15:43:47 -05:00
Ben Kelly
166bafcfe1 Bug 1428652 P3 Fix typo in browser_unregister_with_containers.js. r=me 2018-01-09 15:39:34 -05:00
Ben Kelly
65eb505d92 Bug 1428652 P2 Verify that unregistering a service worker in one container does not break a SW with same scope in different container. r=asuth 2018-01-09 14:55:05 -05:00
Ben Kelly
1819c124bd Bug 1428652 P1 Make service worker registration removal take container principals into account. r=asuth 2018-01-09 14:55:04 -05:00
Ben Kelly
1e126cdab8 Bug 1429029 Force browser_storage_permission.js to use a single content process to avoid multi-e10s service worker propagation races. r=asuth 2018-01-09 14:28:13 -05:00
Ben Kelly
5fa4248b8a Bug 1428650 Make ServiceWorkerManager::MaybeClaimClient() handle inconsistent child-process SWM state. r=asuth 2018-01-09 14:24:58 -05:00
Andrea Marchesini
a778bb516b Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me 2018-01-09 19:44:45 +01:00
Andrea Marchesini
b63423fdb2 Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me 2018-01-09 18:11:03 +01:00
Andrea Marchesini
606217325c Bug 1428745 - Remove support for version parameter from script loader - trimming script type, r=jonco 2018-01-09 17:00:50 +01:00
Andrea Marchesini
174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Andrea Marchesini
9d1d1b1ff3 Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
m_kato@ga2.so-net.ne.jp
74e5620b46 Bug 1386381 - nsTextFragment::SetTo() could be faster by allocating less often, p=makoto,smaug, r=makoto,smaug
--HG--
extra : rebase_source : 1ec6bc8cfb1df283bc110292f2ce509a27b31233
2018-01-09 15:36:01 +02:00
Olli Pettay
7891930314 Bug 1428748 - RangeBoundary is too AddRef/Release heavy, r=mystor
--HG--
extra : rebase_source : 15efb71770d21038f4230538da8c862ab832fdc4
2018-01-08 21:27:44 +02:00
Edmund Wong
03877052c1 Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix 2018-01-07 19:35:00 +02:00
Margareta Eliza Balazs
fe2caaa266 Merge inbound to mozilla-central r=merge a=merge 2018-01-09 11:52:55 +02:00
JW Wang
29bae87780 Bug 1428684 - reduce the chance of UAF when changing states of MDSM. r=kaku
SetState() will delete the current state object and UAF will happen if members
are accessed after this call. However, sometimes it is not obvious if SetState()
is called indirectly as we do in MaybeFinishSeek().

To make it less error-prone, we will keep the old state object alive for a bit
longer and set mMaster to null to catch potential UAF.

MozReview-Commit-ID: Aqxj92ETjti

--HG--
extra : rebase_source : 21b4a0b6df2b1723eed01b6c9d58b33b8dcc6405
2018-01-08 11:41:59 +08:00
Tim Taubert
c3180f09e1 Bug 1406467 - Web Authentication - WD-07 Updates to Make Assertion r=jcj,smaug
Summary:
Add support for PublicKeyCredentialRequestOptions.userVerification. For now
this basically means that we'll abort the operation with NotAllowed, as we
don't support user verification yet.

Pass PublicKeyCredentialDescriptor.transports through to the token manager
implementations. The softoken will ignore those and pretend to support all
transports defined by the spec. The USB HID token will check for the "usb"
transport and either ignore credentials accordingly, or abort the operation.

Note: The `UserVerificationRequirement` in WebIDL is defined at https://w3c.github.io/webauthn/#assertion-options

Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1406467

Differential Revision: https://phabricator.services.mozilla.com/D338

--HG--
extra : amend_source : 314cadb3bc40bbbee2a414bc5f13caed55f9d720
2018-01-09 07:27:35 +01:00
Alphan Chen
87bb85b91b Bug 1421214 - Try GoToAnchor() with unescaped string before using document's charset. r=smaug 2018-01-05 15:12:16 +08:00
Ben Kelly
572321a804 Bug 1426977 P5 Remove unnused cookie pref getters from nsContentUtils. r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
6b60ca24ef Bug 1426977 P4 Add mochitest verifying service workers respect per-site cookie permissions. r=mystor 2018-01-08 20:25:53 -05:00
Ben Kelly
223b11ff62 Bug 1426977 P2 Add StorageAllowedForNewWindow() to support docshell service worker checks. r=mystor 2018-01-08 20:25:53 -05:00
Bogdan Tara
cd1c3cc5dd Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE 2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a Merge inbound to mozilla-central r=merge a=merge 2018-01-09 00:05:31 +02:00
Jon Coppeard
e7889065a7 Bug 1426189 - Make document.currentScript null in modules r=baku 2018-01-08 18:07:39 +00:00
Jessica Jong
dd9a9b8c68 Bug 1419803 - Use GetComposedDoc instead of GetUncomposedDoc in ContentEventHandler. r=smaug 2018-01-08 01:31:00 +02:00
John Dai
d480d5e221 Bug 1419662 - Fix incorrect custom element type in CustomElementData. f=echen, r=smaug 2018-01-07 18:45:00 +02:00
Jon Coppeard
bc9a97d964 Bug 1361369 - Allow async attribute on inline module scripts r=smaug 2018-01-08 15:17:34 +00:00
Jon Coppeard
61e2c40529 Bug 1361369 - Fix coding style in ScriptLoadRequest.h r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
0d68beed29 Bug 1361369 - Add a script processing mode enum r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
ba458e83d4 Bug 1361369 - Factor out method to queue an async request r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
a606770b91 Bug 1361369 - Rename some script load request flags to be more descriptive r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
3bd056fab8 Bug 1377402 - Add null check in SimpleGlobalObject's class hooks r=sfink 2018-01-08 14:27:50 +00:00
Andrea Marchesini
2a49ddf8b7 Bug 1419771 - Fixing compilation issue, r=me - CLOSED TREE 2018-01-08 15:07:16 +01:00
Andrea Marchesini
e10464a465 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 22 - DOMPrefs initialized at startup, r=asuth 2018-01-08 14:05:07 +01:00
Andrea Marchesini
112a861fb6 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 21 - Get rid of WorkerPrefs.h, r=asuth 2018-01-08 14:05:07 +01:00
Andrea Marchesini
4fe8b382b6 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 20 - DevTools enabled, r=asuth 2018-01-08 14:05:06 +01:00
Andrea Marchesini
2bfde4fc2d Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 19 - Resist finger-printing enabled, r=asuth 2018-01-08 14:05:06 +01:00
Andrea Marchesini
7970f659de Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 18 - FetchObserver API enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
bbefbae583 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 17 - Network Information enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
1b4b3007e5 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
53cbde0f48 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
aacb9ccdfb Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 14 - Request Context enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
f4ab91bebc Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 13 - Streams API enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
4e9579eb6c Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 12 - Push enabled, r=asuth 2018-01-08 14:05:05 +01:00
Andrea Marchesini
c05772d855 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 11 - Promise Rejection Event enabled, r=asuth 2018-01-08 14:05:04 +01:00
Andrea Marchesini
01fd1fc62e Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 10 - StorageManager enabled, r=asuth 2018-01-08 14:05:04 +01:00
Andrea Marchesini
d6a3041434 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth 2018-01-08 14:05:04 +01:00
Andrea Marchesini
a45ddd5050 Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 8 - ServiceWorkers enabled, r=asuth 2018-01-08 14:05:04 +01:00
Andrea Marchesini
19b6228ddd Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth 2018-01-08 14:05:04 +01:00