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

17294 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 25cfd38b8f Bug 1497301 part 3. Change a bunch of Location function signatures to take an ErrorResult. r=bholley
This way we can propagate errors out usefully.
2018-10-15 14:17:48 -04:00
Andrea Marchesini dac2a19947 Bug 1495862 - Ensure FeaturePolicy creation in the document, r=ckerschb 2018-10-15 12:00:23 +02:00
Diego Pino Garcia 4bc161d542 Bug 734063 - Remove the multicol element from nsContentUtils::IsHTMLBlock r=hsivonen 2018-10-12 12:59:00 +03:00
Andreas Farre c9272ef398 Bug 1437064 - Remove tracking timeouts list from TimeoutManager. r=chutten,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D7878

--HG--
extra : moz-landing-system : lando
2018-10-12 18:01:19 +00:00
Cameron McCormack bfe5c432f4 Bug 1498755 - Part 7: Tweak a few things in ServoBindingTypes.h r=emilio
Depends on D8648

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:59 +00:00
Cameron McCormack cb8e3bb881 Bug 1498755 - Part 5: Split ServoCell out into a separate header, rename it, and clean it up a bit r=emilio
Depends on D8646

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:54 +00:00
Mats Palmgren faeddacfac Bug 1494745 part 5 - Don't check the result from ns[Auto]TObserverArray insertions since they're infallible. r=bz 2018-10-14 18:12:23 +02:00
Ciure Andrei 26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Sylvestre Ledru dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

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

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Csoregi Natalia 4688712435 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : rebase_source : ced056102700e812cb71f2301aa74558341e67ac
2018-10-12 20:00:55 +03:00
Csoregi Natalia 3f52bdba74 Merge inbound to mozilla-central. a=merge 2018-10-12 19:56:32 +03:00
Emilio Cobos Álvarez 42fac17ba2 Bug 1498445 - Stop creating a style attribute for invalid property values. r=smaug
This matches all other browsers, and the spec.

Added an explicit test for this, and a test that tests what
cssstyledeclaration-mutationrecord-002.html wanted to test, which is that
changing an existing declaration doesn't generate a mutation record.

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

--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : moz-landing-system : lando
2018-10-12 09:07:00 +00:00
Narcis Beleuzu e09f2e2622 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 06:53:11 +03:00
Narcis Beleuzu c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Narcis Beleuzu d30168f45c Merge inbound to mozilla-central. a=merge 2018-10-12 00:48:03 +03:00
Perry Jiang 291f6c1361 Bug 1484849 - history.go(0) should reload the current page and not involve the entire session history r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D8322

--HG--
extra : moz-landing-system : lando
2018-10-11 15:43:25 +00:00
Diego Pino Garcia 94e966fca7 Bug 1357561 - ConstraintError should mention which constraint is not being satisfied. r=tt
The creation of a new index or an object store may trigger a
ConstraintError if any of those elements already exists. Unfortunately,
the information provided by the ConstraintError is not enough to
determine the conditions that triggered the error.

This patch overrides the generic ConstraintError message with more
specific information about the duplicated index or object store.
2018-10-11 13:06:11 +02:00
Yaron Tausky f6f1bde06f Bug 1263734: Implement ServiceWorkerContainer.startMessages() r=asuth,smaug
Differential Revision: https://phabricator.services.mozilla.com/D4237

--HG--
extra : moz-landing-system : lando
2018-10-11 12:37:37 +00:00
Tiberius Oros 5354f50b94 Merge inbound to mozilla-central. a=merge 2018-10-11 06:54:10 +03:00
Mark Banner ac7d1838b5 Bug 1312417 - Remove test_orientation_sandbox_no_lock.html and friends as they aren't used and have invalid js. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8211

--HG--
extra : moz-landing-system : lando
2018-10-11 12:50:36 +00:00
Tom Schuster 028ba5d31e Bug 1497831 - Use nsTArray instead of nsIArray for nsITransferable. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D8194

--HG--
extra : moz-landing-system : lando
2018-10-10 20:25:54 +00:00
Eric Rahm 07aaf73da5 Bug 1470280 - Part 2: Just use osPid to check for new process. r=mconley
The 'ipc:content-created' topic doesn't always seem to be propagated to the
browser_force_process_selector.js test. It appears it's not necessary to
actually wait for it, so lets just remove that.

--HG--
extra : rebase_source : 442a64ff580a8c26bca93723d24128184c5798d6
extra : source : fe7ccd9fee7621782676d9bd841c144126e24c04
2018-10-05 18:24:17 -07:00
Andrea Marchesini ed56730755 Bug 1496034 - Remove FeaturePolicy assertion in getter methods, r=bz 2018-10-12 09:38:44 +02:00
Andrea Marchesini 721aaab922 Bug 1496034 - Apply bz's comments to FeaturePolicy, r=bz 2018-10-12 09:36:33 +02:00
Ehsan Akhgari 4f905acdc7 Bug 1494476 - Part 3: Require having had first-party interaction before being granted a first-party storage exception r=baku
Depends on D8156

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

--HG--
extra : moz-landing-system : lando
2018-10-10 15:47:10 +00:00
Ehsan Akhgari e5c47b59c8 Bug 1494476 - Part 1: Make AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() accept a principal argument instead of a string r=baku
Depends on D8238

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

--HG--
extra : moz-landing-system : lando
2018-10-10 15:47:40 +00:00
Dorel Luca 14654707e6 Backed out changeset 2c01f22661fa (bug 1263734) for wpt failures in fetch/api/request/destination/fetch-destination-no-load-event.https.html. CLOSED TREE 2018-10-10 18:31:01 +03:00
Dorel Luca d58af2c1f9 Backed out 4 changesets (bug 1494476) for build bustage and lining failure. CLOSED TREE
Backed out changeset 70d95bda8458 (bug 1494476)
Backed out changeset f89516a277dc (bug 1494476)
Backed out changeset 3c38fad722a6 (bug 1494476)
Backed out changeset 473362250320 (bug 1494476)
2018-10-10 18:29:04 +03:00
Ehsan Akhgari 1fae9a9e58 Bug 1494476 - Part 3: Require having had first-party interaction before being granted a first-party storage exception r=baku
Depends on D8156

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

--HG--
extra : moz-landing-system : lando
2018-10-10 14:51:25 +00:00
Ehsan Akhgari 7b4b59474c Bug 1494476 - Part 1: Make AntiTrackingCommon::AddFirstPartyStorageAccessGrantedFor() accept a principal argument instead of a string r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8155

--HG--
extra : moz-landing-system : lando
2018-10-10 14:49:22 +00:00
Yaron Tausky 286a3c2333 Bug 1263734: Implement ServiceWorkerContainer.startMessages() r=asuth,smaug
Differential Revision: https://phabricator.services.mozilla.com/D4237

--HG--
extra : moz-landing-system : lando
2018-10-10 13:55:23 +00:00
Tim Huang b88841d2fd Bug 1363508 - Part 3: Spoofing navigator.maxTouchPoints into 0 if fingerprinting resistance is enabled r=arthuredelstein,masayuki,smaug
The maxTouchPoints is going to review the detail of users' hardware. So,
we will spoof it into 0 if fingerprinting resistance is on.

Depends on D6004

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

--HG--
extra : moz-landing-system : lando
2018-10-09 11:50:03 +00:00
Daniel Varga 4f8277ed77 Merge mozilla-central to autoland. a=merge 2018-10-10 13:55:13 +03:00
Daniel Varga 26f16f3b09 Merge autoland to mozilla-central. a=merge 2018-10-10 13:52:23 +03:00
Gijs Kruitbosch e61cc054ca Bug 1493634 - make docshell responsible for outer window IDs, r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D7702

--HG--
extra : moz-landing-system : lando
2018-10-10 10:20:36 +00:00
Dorel Luca 65f9687eb1 Backed out 4 changesets (bug 1470280) for browser-chrome failure in layout/xul/test/browser_bug703210.js. a=backout
Backed out changeset 72e7ef77480d (bug 1470280)
Backed out changeset 403c3d0daf6a (bug 1470280)
Backed out changeset fe7ccd9fee76 (bug 1470280)
Backed out changeset 60699c2387f6 (bug 1470280)
2018-10-10 10:00:19 +03:00
Gurzau Raul fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Gurzau Raul ae94b59b65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-10 07:39:40 +03:00
Cameron McCormack 4c8408b3c2 Bug 1496308 - Require URLExtraData::mPrincipal to be non-null r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D7682

--HG--
extra : moz-landing-system : lando
2018-10-10 03:10:07 +00:00
Gurzau Raul 2ab30dfc12 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-10 01:04:25 +03:00
shindli 115b6f10ca Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-09 19:29:29 +03:00
Doug Thayer 0fd7f560d6 Bug 1426245 - Test changes r=mak
MozReview-Commit-ID: 4fhhzspxLJZ

Depends on D4606

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:31 +00:00
Doug Thayer 218843ef6a Bug 1426245 - Replace OnItemAdded with bookmark-item-added r=mak
See https://docs.google.com/document/d/1G45vfd6RXFXwNz7i4FV40lDCU0ao-JX_bZdgJV4tLjk/edit#
for further info. This essentially follows the same philosophy as
the onVisits migration.

MozReview-Commit-ID: I4bOvFH0ZQR

Depends on D4605

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:47:27 +00:00
Doug Thayer 51b3a9348b Bug 1426245 - Allow partial removal of places oberver listeners r=mak
This was a bug in the original design that just hadn't shown up yet.
If I were to listen to, say "notification-a", and then try to remove
my listener for "notification-a" and "notification-b", we would end
up with a dead listener staying in the list. This fixes that.

MozReview-Commit-ID: KhYQSJaBDF9

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:45:58 +00:00
Olli Pettay 8aab677101 Bug 1492823 - Ensure user input suppression works correctly even after document.open. r=peterv
--HG--
extra : rebase_source : 8203c52cd64dea17d5127a625fa043b1d7a6d3b3
2018-10-09 08:56:01 -04:00
Eric Rahm 05f38084da Bug 1470280 - Part 2: Just use osPid to check for new process. r=mconley
The 'ipc:content-created' topic doesn't always seem to be propagated to the
browser_force_process_selector.js test. It appears it's not necessary to
actually wait for it, so lets just remove that.

--HG--
extra : rebase_source : 3bd948166ab94007b9e1752fb9a7e934e4341777
2018-10-05 18:24:17 -07:00
Boris Zbarsky aacae7bf6b Bug 1497658 part 2. Stop using GetCurrentJSContext in CallerInnerWindow. r=mccr8
We're always called from script, so just pass through the JSContext.
2018-10-09 17:02:13 -04:00
Boris Zbarsky 71af18de28 Bug 1497658 part 1. Remove a useless GetCurrentJSContext check in MakeScriptDialogTitle. r=mccr8
We want to just use the subject principal URI.  In practice, all our callers
are script anyway, it turns out...
2018-10-09 17:02:13 -04:00
Ehsan Akhgari 7278abd237 Bug 1491403 - Part 4: Call the resolve handler of the promise returned from Document.requestStorageAccess() and Document.hasStorageAccess() preserving the user input event handling state r=baku
Depends on D7005

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

--HG--
extra : moz-landing-system : lando
2018-10-09 21:42:30 +00:00
Chris Peterson 01bd29ee40 Bug 583181 - Part 3: Spoof navigator.buildID for web content. r=hsivonen
But still allow chrome scripts and (unless resisting fingerprinting) "https://*.mozilla.org" pages to access the real navigator.buildID.

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

--HG--
extra : rebase_source : ca7e31ae680ec8a9f2af44e2903ee511ff833aa1
extra : source : 02825955013c402b1ef94cf0c7c29637ae5bdd77
2018-09-23 17:32:46 -07:00