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

1278 Коммитов

Автор SHA1 Сообщение Дата
btian 97ddc2ae3b Bug 1384661 - Part 4: Test for invalidation of cached child array. r=smaug
--HG--
extra : rebase_source : 51172d828c3e44ab89bc187ae0bf9cd3779ed3c2
2017-10-23 10:12:09 +08:00
Cameron McCormack c57d1b16bf Bug 1408311 - Part 4: Fix bug when serializing sanitized style rules. r=xidorn
MozReview-Commit-ID: LBfmRsYSJND

--HG--
extra : rebase_source : 07dbbf8254c7b7217f7dd794d64168f7ecaae57a
2017-10-19 16:30:35 +08:00
Valentin Gosu 13f4c5ecaf Bug 1408552 - Make sure we only instantiate CacheStorageService in the main process r=mayhemer
* A memory leak occurs when this happens in the content process
* I added an assertion that we only create it in the parent process

MozReview-Commit-ID: 1UTyusRg0qx

--HG--
extra : rebase_source : 400cfb21ee094ad33e15681f213af6dbe20ebbf5
2017-10-18 21:10:22 +02:00
Sebastian Hengst 538797050e Backed out changeset dfb238189002 (bug 1408552) for asserting in xpcshell's netwerk/test/unit_ipc/test_cache-entry-id_wrap.js. r=backout on a CLOSED TREE 2017-10-18 15:56:09 +02:00
Valentin Gosu ec70ea390d Bug 1408552 - Make sure we only instantiate CacheStorageService in the main process r=mayhemer
* A memory leak occurs when this happens in the content process
* I added an assertion that we only create it in the parent process

MozReview-Commit-ID: 1UTyusRg0qx

--HG--
extra : rebase_source : 646c1c82d141cadc6c1b19843b4cc750e1a1ce59
2017-10-18 14:35:33 +02:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Thomas Nguyen 49b7f047bb Bug 1399780 - Add a test that referrerpolicy attributes are honoured correctly in speculative loading r=ckerschb
MozReview-Commit-ID: 6wU7RMEghjx

--HG--
extra : rebase_source : cd0496d6e0f7f479d3f7e138fb6873d76cb79bdb
2017-10-16 10:41:33 +08:00
Brendan Dahl 42bc28d260 Bug 1399956 - Disable some mochitests in headless. r=jrmuizel
These tests will need more work and are low priority.

MozReview-Commit-ID: H0J16E8FqNr
2017-10-16 16:15:45 -07:00
Dragana Damjanovic dc118fd91d Bug 1405761 - If the preload pref is disabled rel=preload should be shown as not supported. r=smaug
--HG--
extra : rebase_source : 3e32d5d8beceedca7ab3eaaf528385f4e73f1164
2017-10-11 03:20:00 -04:00
Andrea Marchesini cc0c227c00 Bug 1404910 - WebSocket should consider the corrent top-level window principal, r=smaug 2017-10-04 14:18:19 +02:00
Olli Pettay 3f643a72c3 Bug 1406922 - Make CycleCollectedJSContext to handle microtasks and make MutationObserver to use them, r=baku,bevis
--HG--
extra : rebase_source : 62ad4503ceaa6b1c438f4fb7fc0c5b65b3e77665
2017-10-11 15:31:38 +03:00
Peter Van der Beken 772f1ee5da Bug 1383059 - Remove instanceof for supplemental interfaces. Part 2: remove support for supplemental interfaces in instanceof code and remove unnecessary ChromeWindow interface. r=bz.
--HG--
extra : rebase_source : e8ce446e7f1844c6d1d352896873cbb865837632
extra : source : 944786dca81aed2e480562694bfabc6e5fbf1266
2017-07-05 23:01:04 +02:00
Peter Van der Beken c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Tobias Schneider 1e70d2c43e Bug 1406102 - [intersection-observer] Calculate areas using int64_t. r=dholbert
--HG--
extra : rebase_source : 00202f13b33d74bb686a3eb8103543e5a68f88d8
2017-10-09 15:08:41 -07:00
Sebastian Hengst 1033bfa26f Backed out changeset 4eb1a4c1fdb1 (bug 1404910) for failing dom/base/test/test_window_cross_origin_props.html with e10s (runs on Windows 7 debug). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 2FATIBGSlEg
2017-10-08 16:10:05 +02:00
Tobias Schneider ec303fba5c Bug 1399603 - [intersection-observer] Stop observing a target when intersection root is deleted. r=mrbkap
--HG--
extra : rebase_source : 2a24e8f42eb493ce8af1b2321cdec422080cf7d0
2017-10-06 07:39:54 -07:00
Nicolas B. Pierron bb6e7bf9b1 Bug 1404486 - Do not flush necko cache to avoid keeping the CacheIOThread alive. r=valentin
--HG--
extra : rebase_source : 9ce4fdb059a149da0e364efe1963ad2055e937cd
2017-10-03 10:07:00 -04:00
Andrea Marchesini 6e03c7e15b Bug 1404910 - WebSocket should consider the corrent top-level window principal, r=smaug 2017-10-04 14:18:19 +02:00
Andrea Marchesini baa04d619a Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
Olli Pettay c80e124562 Bug 1396584 - Remove support for multiple ShadowRoots, r=mrbkap
--HG--
extra : rebase_source : 2bb600ed1ffd35c195617a7eb70d0ba847a46898
2017-09-25 18:09:26 +03:00
Chris Peterson 210c7f9690 Bug 870698 - Part 9: Replace Assign(NS_LITERAL_STRING("")) with AssignLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: 6vgQiU8zN3o

--HG--
extra : rebase_source : 1b536b92ef43f610db057ace6f108620e8d8b4d5
extra : source : 336e21386d5eeb16f1c9893c29377f23b67cc4b0
2017-09-06 01:43:13 -07:00
Tobias Schneider 3be3fe0ca4 Bug 1399605 - Fix wrong test being skipped. r=mrbkap
--HG--
extra : rebase_source : 1455cdcb6cabf5e2d4fa65a0d12faa1a4cd700b9
2017-09-19 18:54:01 -07:00
Tobias Schneider 2b102d3c56 Bug 1399605 - [intersection-observer] Check if target is actually being observed when unobserving. r=mrbkap
--HG--
extra : rebase_source : d3c8c012dba2941b230cdfbf332ab3c77b7a26ef
2017-09-19 10:50:10 -07:00
Boris Zbarsky 3dc9073bd5 Bug 1400139 part 2. Make window.content non-enumerable. r=mystor
MozReview-Commit-ID: LQkEkdG8wKf
2017-09-18 21:24:38 -04:00
Sebastian Hengst 6af41593df merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-12 11:37:58 +02:00
Andrea Marchesini ab3721b443 Bug 1392202 - WebSocket CTOR should not try to look for the topmost window if the opener's top ancestor is equal to the current window top ancestor, r=smaug 2017-09-12 09:27:08 +02:00
Andrew McCreight 2b68b38709 Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
This patch gently removes support for __exposedProps__ by changing
ExposedPropertiesOnly::check() to always return false, while still
failing silently in deny for some kinds of access.

The tests that I changed all involve testing the behavior with
__exposedProps__. I adjusted them to expect it to fail, or to adjust
the error message they get when they fail. That seemed better than
deleting them entirely.

Note that test_bug1065185.html had a bug, so that it never executed
the first case. I fixed that, and then fixed up the test to work when
__exposedProps__ is not supported.

This also removes various bits of the test framework that use
__exposedProps__, but don't actually need to.

MozReview-Commit-ID: 8fvkAmITmXY

--HG--
extra : rebase_source : ef7e2c55adc12511f17f3865ebb46c343875f0b3
2017-08-22 14:24:11 -07:00
Christoph Kerschbaumer 9048e3f216 Bug 1397655 - Update tests within dom/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:24:07 +02:00
Andrew McCreight d2d60daa42 Bug 1397460 - Don't throw for a failure in cpows_child.js. r=billm
When ok() is passed false, we send a message to the parent, which will
cause the test to fail. Throwing in this helper in the child just
makes the test hang for a while.

MozReview-Commit-ID: 4gwBACPYfDO

--HG--
extra : rebase_source : 10f1ee6d013fc731a4bf5bb8365924723e19f9ca
2017-09-06 13:45:22 -07:00
Jeff Gilbert 5c0f0feb19 Bug 1322746 - dom/base/test/test_anonymousContent_canvas.html should not assume webgl works. - r=daoshengmu
MozReview-Commit-ID: 7oEK4pWMCdc
2017-09-02 21:52:33 -07:00
Brad Werth c0e8e6e5a2 Bug 1391169 Part 2: Add a test of cssText with combinations of namespaces, universal selectors, and combinators. r=SimonSapin
MozReview-Commit-ID: GZZEGR0zyp6

--HG--
extra : rebase_source : cf531ddfa86d558f61ae84b3f3b71d64fbae07c5
2017-08-22 16:21:46 -07:00
Florian Quèze 48761699cf Bug 1391704 - Avoid flickering while moving tabs across windows, r=mconley. 2017-09-01 00:42:31 +02:00
Chris H-C 28c67cf8bd bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Hiroyuki Ikezoe 579cdaa0ab Bug 1383985 - Enable test_mutationobserver_anonymous.html on stylo. r=xidorn
MozReview-Commit-ID: 1qDvqysTJGo

--HG--
extra : rebase_source : 312042d66fb493871ea24a5ec7aaed4e1d2c26fb
2017-08-28 17:02:52 +09:00
Mantaroh Yoshinaga 290403a36e Bug 1383512 - Add waiting code until loading FontSet and finishing styling to test_user_select.html. r=birtles
In some environment, test will start before applying font face.
To ensure that content apply font, this patch changes to wait for starting test
until loading FontSet and finishing styling.

MozReview-Commit-ID: GakUcOgRQE8
2017-08-25 15:37:53 +09:00
Xidorn Quan dd29c6636a Bug 1370779 - Bump version of cssparser.
MozReview-Commit-ID: Atb37wr8iMA
2017-08-23 13:04:03 +10:00
Gabor Krizsanits 167cda75c2 Bug 1391352 - browser_aboutnewtab_process_selection.js can keep an extra process alive. r=me
If before the test the process count cap was 1, then we might have ended up with an extra
content process because the preloaded browser might kept alive one of the process we
created during the test.
2017-08-22 12:30:26 +02:00
Jon Coppeard 4ccabf8cae Bug 1388728 - Improve module loader mochitests and re-enable failing WPT tests r=bkelly 2017-08-22 10:43:27 +01:00
Gabor Krizsanits 60d53ef3a0 Bug 1391363 - This test should be only disabled for non-e10s. r=me 2017-08-18 12:25:58 +02:00
Sebastian Hengst 02a34cdd40 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-21 13:43:53 +02:00
Shawn Huang cba2d8bb55 Backed out changeset 40b781f6504c (bug 1345457) for breaking xhr test case r=backout 2017-08-21 16:32:00 +08:00
Joel Maher a4e30a204e Bug 1391371 - turn on non-e10s tests for windows7-debug. r=ahal
MozReview-Commit-ID: 9CzUf6Omk38
2017-08-17 15:46:03 -04:00
Xidorn Quan e6414a0a93 Bug 1384001 - Reenable test_intersectionobservers.html. r=xidorn
MozReview-Commit-ID: 1duaKfd8ADd

--HG--
extra : rebase_source : dcfc6afd19b2c9c242f8cc636e10bfd2d326ce61
2017-08-17 13:35:37 +10:00
Gabor Krizsanits 722233fed1 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-16 13:00:22 +02:00
Carsten "Tomcat" Book a478b0ef54 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Gabor Krizsanits a53261ca24 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-15 14:05:17 +02:00
Wes Kocher 20689fef47 Backed out 2 changesets (bug 1376895) for breaking browser_identity_UI.js with assertions in nsPermissionManager.cpp a=backout
Backed out changeset 620d01ac103a (bug 1376895)
Backed out changeset 3a06ab7fda1a (bug 1376895)

MozReview-Commit-ID: 2C8kUg77dz8
2017-08-14 13:13:45 -07:00
Gabor Krizsanits 7f2b53e79a Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-14 17:42:05 +02:00
Ed Lee 15dc2228b6 Bug 1335057 - Fix intermittent bug1058164.js test timed out by conditionally waiting. r=mconley
MozReview-Commit-ID: LRhV0IbHt5b

--HG--
extra : rebase_source : f5d92a9d179aeca6f206a8a5bca98b0fe767b1c7
2017-08-10 10:41:19 -07:00
Mantaroh Yoshinaga fc6de5f2b5 Bug 1383512 - Skip test_user_select.html on windows of opt and pgo. r=gbrown
This patch skip the test_user_select.html test since windows build of
pgo/opt will fail this test sometimes on try.
This is temporaly solution until clarifying the reason of it.
(We track it on same bug).

MozReview-Commit-ID: BlwdoYxNTxP

--HG--
extra : rebase_source : 7201de141da43a3fd395a7f8ba4fdfb9fad1e6bf
2017-08-09 12:55:58 +09:00