Tim Huang
89b8d8eb39
Bug 1586718 - Making the test 'browser/components/originattributes/test/browser/browser_favicon_userContextId.js' working in Fission. r=baku
...
Depends on D49253
Differential Revision: https://phabricator.services.mozilla.com/D49254
2019-10-15 14:26:21 +00:00
Tim Huang
ed9c260399
Bug 1586717 - Making the test 'browser/components/originattributes/test/browser/browser_favicon_firstParty.js' working in Fission. r=baku
...
Depends on D49252
Differential Revision: https://phabricator.services.mozilla.com/D49253
2019-10-15 14:27:01 +00:00
Tim Huang
845ff84f89
Bug 1586715 - Making the test 'browser/components/originattributes/test/browser/browser_sharedworker.js' working in Fission. r=baku
...
Depends on D49251
Differential Revision: https://phabricator.services.mozilla.com/D49252
2019-10-15 14:25:02 +00:00
Tim Huang
5b945b5235
Bug 1586714 - Making the test 'browser/components/originattributes/test/browser/browser_sanitize.js' working in Fission. r=baku
...
Depends on D49250
Differential Revision: https://phabricator.services.mozilla.com/D49251
2019-10-15 14:24:50 +00:00
Tim Huang
a3c15a71a0
Bug 1586712 - Making the test 'browser/components/originattributes/test/browser/browser_permissions.js' working in Fission. r=baku
...
This patch also fixes the test that it doesn't really do the test due to
it doesn't wait the content script to be finished.
Depends on D49249
Differential Revision: https://phabricator.services.mozilla.com/D49250
2019-10-15 14:24:34 +00:00
Tim Huang
7946dec4e7
Bug 1586711 - Making the test 'browser/components/originattributes/test/browser/browser_localStorageIsolation.js' working in Fission. r=baku
...
Depends on D49248
Differential Revision: https://phabricator.services.mozilla.com/D49249
2019-10-15 14:23:53 +00:00
Tim Huang
88822a2de0
Bug 1586710 - Enable the test 'browser/components/originattributes/test/browser/browser.ini' in Fission. r=baku
...
This test doesn't need to change. It has been fixed while the
IsolationTestTools is fixed for Fission.
Depends on D49247
Differential Revision: https://phabricator.services.mozilla.com/D49248
2019-10-15 14:23:40 +00:00
Tim Huang
6568839b88
Bug 1586709 - Making the test 'browser/components/originattributes/test/browser/browser_cookieIsolation.js' working in Fission. r=baku
...
Depends on D49246
Differential Revision: https://phabricator.services.mozilla.com/D49247
2019-10-15 14:23:33 +00:00
Tim Huang
f4b1f3a08e
Bug 1586708 - Making the test 'browser/components/originattributes/test/browser/browser_cacheAPI.js' working in Fission. r=baku
...
Depends on D49245
Differential Revision: https://phabricator.services.mozilla.com/D49246
2019-10-15 14:23:26 +00:00
Tim Huang
7942a804ba
Bug 1586707 - Making the test 'browser/components/originattributes/test/browser/browser_cache.js' working in Fission. r=baku
...
This patch also adds a workaround for avoid a timing issue. The timing
issue exists if we close and rapidly open again of a given origin which
is using a shared worker with container enabled. The showdown of the
content process would be delayed in this case, so the content process
will be shutdown during opening the tab, which would lead to an
unexpected behavior.
The workaround makes the script to wait the shutdown process to be
finished.
Depends on D49244
Differential Revision: https://phabricator.services.mozilla.com/D49245
2019-10-15 14:23:14 +00:00
Tim Huang
50181432f0
Bug 1586705 - Making the test 'browser/components/originattributes/test/browser/browser_broadcastChannel.js' working in Fission. r=baku
...
Depends on D49243
Differential Revision: https://phabricator.services.mozilla.com/D49244
2019-10-15 14:22:55 +00:00
Tim Huang
ee5363567d
Bug 1586704 - Modify the test browser/components/originattributes/test/browser/browser_blobURLIsolation.js for fission. r=baku
...
Depends on D49242
Differential Revision: https://phabricator.services.mozilla.com/D49243
2019-10-15 14:22:39 +00:00
Tim Huang
ce6252701f
Bug 1585312 - Modify the IsolationTestTools in order to adapt Fission. r=baku
...
This patch changes the ways how we construct the test page for the
isolation tests. We move to use the SpecialPowers.spawn() instread of
the ContentTask.spawn() for the test framework.
Differential Revision: https://phabricator.services.mozilla.com/D49242
2019-10-15 14:26:45 +00:00
Tim Huang
be59e14635
Bug 1586722 - Making the test 'browser/components/originattributes/test/browser/browser_firstPartyIsolation_about_newtab.js' working in Fission. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D48844
2019-10-11 15:51:43 +00:00
Tim Huang
984b23fad0
Bug 1586713 - Making the test 'browser/components/originattributes/test/browser/browser_postMessage.js' working in Fission. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D48699
2019-10-09 14:11:39 +00:00
monikamaheshwari
edb30ffaec
Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Andreea Pavel
1b3cdb77fc
Bug 1544810 - test disabled on linux64 and macosx 10.14 r=gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D43974
2019-08-29 14:15:03 +00:00
Paul Zuehlcke
368d5d5647
Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D41029
2019-08-15 14:32:48 +00:00
Ciure Andrei
087fb2a215
Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
...
Backed out changeset 87305e83174e (bug 1531303 )
Backed out changeset 0c75c3bac00b (bug 1531303 )
Backed out changeset 865c2a5d40da (bug 1531303 )
2019-08-14 13:07:55 +03:00
Paul Zuehlcke
0b3621645a
Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D41029
2019-08-14 08:31:23 +00:00
Kris Maglione
219317c524
Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika
...
Currently, TabGroups know to break their reference cycles only when the last
window leaves them. For TabGroups which have never had a window join (which
happens under Fission), this means they also never see a window leave, and
therefore never break their reference cycles, and leak.
This patch adds a check to break reference cycles if no windows have joined by
the time a BrowserChild they belong to is destroyed.
MANUAL PUSH: Lando fails to rebase.
Differential Revision: https://phabricator.services.mozilla.com/D40669
2019-08-02 18:19:53 -07:00
Bogdan Tara
4df8771cb1
Merge inbound to mozilla-central. a=merge
2019-07-27 00:38:36 +03:00
Erica Wright
19bdf925ee
Bug 1565370 - Fix intermittent caused by async messaging. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D39506
2019-07-26 17:40:57 +00:00
Kris Maglione
27b9611a4c
Bug 1568035: Part 3 - Request longer timeouts for tests which take longer under Fission. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D39461
2019-07-24 11:36:43 -07:00
Kris Maglione
fdba7d1377
Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D39459
2019-07-19 15:31:16 -07:00
Kris Maglione
0f4a61c1c2
Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D38725
2019-07-17 13:37:48 -07:00
Kris Maglione
9f00b7395d
Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
...
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.
There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.
Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
Thomas Nguyen
ee02fbe71a
Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D33939
2019-07-16 17:59:28 +00:00
Luke Crouch
37661e0c94
Bug 1559365: UI indication of breached logins r=jaws,MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D35105
2019-07-10 19:57:25 +00:00
Jonathan Kingston
32524b62e2
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Victor Porof
8eb72fd3fc
Bug 1561435 - Format browser/components/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Kris Maglione
4753549aee
Bug 1541557: Part 3 - Update callers of sync SpecialPowers functions to await the return value. r=nika
...
When we migrate SpecialPowers to a JSWindowActor, it will no longer be able to
use synchronous IPC messaging, which means that its current synchronous APIs
will have to become asynchronous.
This patch doesn't change the behavior of those functions, but it does change
their callers to `await` their return values rather than using them directly.
This pattern will work the same whether the functions return a promise or a
plain value, which simplifies the migration.
Differential Revision: https://phabricator.services.mozilla.com/D35053
2019-06-12 11:41:32 -07:00
Alastor Wu
f288425092
Bug 1550633 - part17 : enable loading for track elements in 'browser_cache.js ' and 'trackerFrame.html '. r=timhuang
...
As now we won't load disabled text track, we have to mark track as default in order to trigger loading which would be done by automatically text track selection, or to set its track mode explicitly.
Differential Revision: https://phabricator.services.mozilla.com/D32359
2019-05-24 19:07:18 +00:00
Andreea Pavel
3af137515b
Backed out 23 changesets (bug 1550633) for causing bug 1548454 to permafail on a CLOSED TREE
...
Backed out changeset ce4a146da49d (bug 1550633)
Backed out changeset e1a33576d6ad (bug 1550633)
Backed out changeset bbd8f62b9bff (bug 1550633)
Backed out changeset 583d4e0945ad (bug 1550633)
Backed out changeset 29487a59512d (bug 1550633)
Backed out changeset 0f6ddd898e89 (bug 1550633)
Backed out changeset fd1afdd721e3 (bug 1550633)
Backed out changeset d4a6c1337f89 (bug 1550633)
Backed out changeset 2d4773f2dc6c (bug 1550633)
Backed out changeset e9dea69efffe (bug 1550633)
Backed out changeset 4265dd65cec3 (bug 1550633)
Backed out changeset 2aaaa42c409b (bug 1550633)
Backed out changeset d85485f76233 (bug 1550633)
Backed out changeset b6e8370b6efb (bug 1550633)
Backed out changeset afaef937598b (bug 1550633)
Backed out changeset 470d8fae0461 (bug 1550633)
Backed out changeset 8024fcefe8b1 (bug 1550633)
Backed out changeset 224eadc5ef27 (bug 1550633)
Backed out changeset 26c3c521ce27 (bug 1550633)
Backed out changeset def294ad0efb (bug 1550633)
Backed out changeset b15cc6e689e7 (bug 1550633)
Backed out changeset be178934cbbb (bug 1550633)
Backed out changeset 9893ccf1f8ad (bug 1550633)
2019-05-24 03:38:26 +03:00
alwu
19d4f6e2c8
Bug 1550633 - part17 : modify test 'browser_cache.js'. r=timhuang
...
As now we won't automatically load disabled text track, we have to mark track as `default` in order to trigger loading.
Differential Revision: https://phabricator.services.mozilla.com/D32359
2019-05-23 17:58:40 +00:00
Andrea Marchesini
0e21334a05
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
2019-05-22 06:31:22 +00:00
Mihai Alexandru Michis
b1fd494f38
Backed out changeset 754426d70d28 (bug 1551729) for causing wpt failures. CLOSED TREE
2019-05-21 15:17:37 +03:00
Andrea Marchesini
fe627fd0c4
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
2019-05-21 08:57:21 +00:00
Dorel Luca
88e3b97b39
Backed out changeset 41c511d9528c (bug 1551729) for causing WPT failures in cookies/http-state/mozilla-tests.html. CLOSED TREE
2019-05-20 23:40:10 +03:00
Andrea Marchesini
874897e3b7
Bug 1551729 - Revert bug 1548432 - Re-introducing the support for cookies without values, r=mayhemer
...
This patch reverts the second part of bug 1548432.
Differential Revision: https://phabricator.services.mozilla.com/D31267
2019-05-20 15:16:06 +00:00
Jared Wein
1001663494
Bug 1548463 - Tests for HTML-based login manager. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D29625
2019-05-08 18:02:26 +00:00
Ehsan Akhgari
9f92463607
Bug 1548432 - Part 2: Ignore cookie name-value-pair strings without a "=" character; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29619
2019-05-02 17:12:55 +00:00
Cosmin Sabou
bf54e10dfa
Bug 1544810 - Disable browser_sanitize.js on windows due to frequent failures. r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D29086
2019-04-27 00:35:40 +00:00
Brian Grinstead
6bf5cf3d2a
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
2019-04-16 03:50:44 +00:00
Mark Banner
d5029e0dae
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
2019-03-28 09:38:14 +00:00
Gijs Kruitbosch
a4db9e0510
Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
...
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.
Differential Revision: https://phabricator.services.mozilla.com/D21129
2019-03-19 17:29:48 +00:00
shindli
244d2d9547
Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE
...
Backed out changeset af8bce2330e9 (bug 1353013)
Backed out changeset a3d1302b06c0 (bug 1353013)
Backed out changeset 976afd1adf84 (bug 1353013)
2019-03-18 18:21:16 +02:00
Gijs Kruitbosch
f46c2a4254
Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
...
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.
Differential Revision: https://phabricator.services.mozilla.com/D21129
2019-03-12 14:34:39 +00:00
Junior Hsu
2e3befcad6
Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D19325
2019-02-19 21:53:22 +00:00
Myk Melez
5ecc2c1225
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00