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

1141 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky db41f3a815 Bug 1456887 part 1. Remove the [ArrayClass] annotation from DOMRectList. r=qdot
The NoInterfaceObject bit is me cleaning up after spec editors who change the
spec without updating the tests...
2018-04-26 01:38:06 -04:00
Kershaw Chang ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E) 0aa410f629 Bug 1423495 - Part3: Add PerformanceServerTiming to test_interface.js, r=baku
MozReview-Commit-ID: 663c9sudEIR

--HG--
extra : rebase_source : 9c7a81db01758e4f6e35236a5e7ce40557c9f2a1
2018-01-10 04:02:00 +01:00
Kris Maglione 219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Boris Zbarsky 55cdcb3d94 Bug 1451929. Get rid of DOMCursor. r=qdot 2018-04-05 20:31:03 -04:00
Boris Zbarsky a245fdf72d Bug 1448397. Make WebIDL QueryInterface chrome-only. r=qdot 2018-03-26 13:35:04 -04:00
Boris Zbarsky a59087c90e Bug 1442039 part 6. Remove now-unused classinfo bits for DOMConstructor and DOMPrototype. r=peterv
Also removes various code that stops compiling this way and static functions
that are now unused.

MozReview-Commit-ID: KHYxly2c3Id
2018-03-21 23:13:29 -04:00
Boris Zbarsky 84e524739b Bug 1442040. Remove unnecessary classinfo for the nsIDOMXUL* interfaces. r=peterv
MozReview-Commit-ID: C4brIXnpiV0
2018-03-09 16:04:11 -05:00
Jonathan Kingston a9768e4ebc Bug 1442417 - Fix exposure policy for device sensors. r=bz
MozReview-Commit-ID: DOSvSwsn7uo

--HG--
extra : rebase_source : 01b60e796d63396dbf3ad3f87a5f828962f84c62
2018-03-01 22:10:41 +00:00
Sebastian Hengst 118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Boris Zbarsky 859780c212 Bug 1441927 part 3. Fix the exposure test for OfflineResourceList. r=bkelly
MozReview-Commit-ID: IfIegdZWY99
2018-03-01 12:32:33 -05:00
Boris Zbarsky 503cf68b4b Bug 1441927 part 2. Move the is* constants to the top of test_interfaces.js so we can use them in our property lists. r=bkelly
MozReview-Commit-ID: FXqx6tn4W32
2018-03-01 12:32:33 -05:00
Boris Zbarsky 2ec9ec7f7c Bug 1441927 part 1. Change JS bits in test_interfaces to actually test when they should be exposed instead of just whether their exposure matches some function's return value. r=luke
MozReview-Commit-ID: BsWDcdybXvk
2018-03-01 12:32:32 -05:00
Florian Quèze c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Kearwood "Kip" Gilbert 98f42b8d7f Bug 1438044 - re-enable WebVR for macOS in release r=smaug
For FF59, we disabled WebVR for macOS before allowing it to ride the trains to release.  Softvision was unable to verify for QA due to challenges getting a working hardware configuration for macOS VR at SoftVision.

We have since gained approval from the Firefox Release Team to re-enable WebVR for macOS in release for FF60.

Essentially, we need to reverse the changes in bug 1426500 and uplift to FF59/Beta before the next cycle.

--HG--
extra : rebase_source : 1b0c68b130f869f0e71cf2d93db92bb78dddc79b
2018-02-26 10:04:08 -08:00
Jonathan Kingston ada03a865d Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly
This patch disables device sensors except orientation by default.
It implements per-sensor prefs to disable orientation, motion, proximity and ambient light
selectively. The patch also makes the pref checks happen at runtime (versus on process
start) using Preferences::AddBoolVarCache.
The patch also removes the related Event constructors also.

MozReview-Commit-ID: EA8ARjjtlkF

--HG--
rename : dom/events/test/test_bug742376.html => dom/events/test/test_deviceSensor.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_disabled_events.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_eventctors_sensors.html
extra : rebase_source : 39da98ac9226ac727f5197d28561b0b762da06f4
2017-07-24 10:07:00 +02:00
Kyle Machulis 10e49826b1 Bug 1201590 - WebMIDI Mochitests; r=baku,padenot
MozReview-Commit-ID: F6bSQ4oCRDq

--HG--
extra : rebase_source : cb60759b5688de759e8e6aa9301b6f5d1f640a67
2015-07-21 14:28:30 -07:00
Masayuki Nakano cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Nils Ohlmeier [:drno] 8f4141cf62 Bug 1173851: renamed DataChannel -> RTCDataChannel in mochitest. r=smaug
MozReview-Commit-ID: DKyGvvigsvf

--HG--
extra : rebase_source : a14f55ade94cc181fa73835ef68fc67137b91909
2018-02-14 17:48:04 -08:00
Hiroyuki Ikezoe 272f2f4dd8 Bug 1437680 - Don't change media feature in the callback for MediaQueryListEvent. r=jryans
In our current implementation for media query stuff, it's possible to change
media features inside the callback for media query list events and the events
are dispatched at an early stage in flush pending styles.  Whereas at a later
stage in flush pending styles, we don't allow pending media feature changes.
According to the spec [1], the media query list events have to be dispatched
in a different place from flush pending styles.  We have to move the event
handling someday, but as for test_contentViewer_overrideDPPX.html, we don't
need to change media features inside the callbacks (precisely it has done
inside a Promise for the callbacks), so we add setTimeout call to make sure
the media feature changes are processed after the flush pending styles.

[1] https://html.spec.whatwg.org/multipage/webappapis.html#processing-model-8

MozReview-Commit-ID: 5VoQJ1uGUwD

--HG--
extra : rebase_source : 47443f7dc00aa62a35f570796eeec547526d8142
2018-02-13 09:41:44 +09:00
Tom Ritter aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Jonathan Kingston 885a7ba307 Bug 1435261 - Remove access to appcache interface OfflineResourceList over insecure contexts r=baku,mayhemer
MozReview-Commit-ID: BK7rbKOd8Yq

--HG--
extra : rebase_source : e198d64baf66d5dc5f5aefe37db4fee6154c6cf9
2018-02-02 17:26:03 +00:00
Jonathan Watt 843da70a1a Bug 1436438 part 1 - Remove the tests that test SVG path data DOM interfaces. r=longsonr
MozReview-Commit-ID: 78yzAb6Khf1
2018-01-26 10:39:11 +00:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky 1d5c2e332a Bug 1434273. Make nsGenConImageContent's inheritance match the way it's used. r=mccr8
MozReview-Commit-ID: AYL4iZkMJiH
2018-01-30 14:48:26 -05:00
Noemi Erli 52ab84dbf1 Backed out 4 changesets (bug 1381645) for failing in dom/tests/mochitest/general/test_interfaces.html on a CLOSED TREE
Backed out changeset 7b2482a5eb04 (bug 1381645)
Backed out changeset ef3252b0ba21 (bug 1381645)
Backed out changeset 7c022a5e28f2 (bug 1381645)
Backed out changeset 2f71c8989cc0 (bug 1381645)
2018-01-24 20:04:34 +02:00
Kearwood "Kip" Gilbert 6ec807f80d Bug 1381645 - Part 3: Update test_interfaces.js to expect WebVR interfaces to be enabled only in secure contexts r=bz
MozReview-Commit-ID: 3jyxWRi8BIv

--HG--
extra : rebase_source : 87f00b098a52207749ca0400a53d904520a0eb0a
2017-12-18 13:09:52 -08:00
J.C. Jones 3aef8196f3 Bug 1433012 - Mark Web Authentication interfaces as riding the trains r=smaug
Embarassingly, when Bug 1432542 enabled WebAuthn to ride the trains, I neglected
to adjust test_interfaces, prompting this bug.

So... oops-fix!

MozReview-Commit-ID: 62Q0gA5KoBC

--HG--
extra : rebase_source : d072d9390c864ce1e23e0a4823f7c32dd4c39a3e
2018-01-25 07:21:29 -07:00
Cosmin Sabou 1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Boris Zbarsky 470a97f6d7 Bug 1429014. Make test_interfaces require explicit opt-in to add a non-SecureContext interface. r=bkelly
The big data tables had the following search-and-replaces done on them:

  name: "\([^"]+\)" -> name: "\1", insecureContext: true

  "\([^"]+\)",$ -> {name: "\1", insecureContext: true},

followed by removal of both isSecureContext and insecureContext annotations
where both appeared.

MozReview-Commit-ID: BkqAwXFf48x
2018-01-16 14:39:58 -05:00
Kearwood "Kip" Gilbert 77e75469f3 Bug 1426500 - Part 2: Update test_interfaces mochitest to expect WebVR interfaces to be disabled on release builds for macOS. r=smaug, a=me 2018-01-11 15:13:58 -08:00
J.C. Jones 3ba27ce458 Bug 1428918 - Enable Web Authentication in Nightly r=keeler,smaug
In advance of enabling Web Authentication in Firefox 60 [1], let's turn it on
for Nightly users.

[1] https://groups.google.com/forum/#!msg/mozilla.dev.platform/tsevyqfBHLE/lccldWNNBwAJ

MozReview-Commit-ID: ALyjBwojKtA

--HG--
extra : rebase_source : c51aef6bf12e1e26faa3d86269132eef7057c889
2018-01-08 18:37:35 -07:00
Emilio Cobos Álvarez 9a1057ca6c Bug 1420722: Test this. r=me
I've confirmed that the test fails without the patch for the bug.

MozReview-Commit-ID: 1Udvk02upNY
2018-01-17 00:33:28 +01:00
Emilio Cobos Álvarez 031cd854ad Bug 1420722: Fix test indentation. r=whitespace-only
MozReview-Commit-ID: 7rpBIekDCjj
2018-01-17 00:31:10 +01:00
Kyle Machulis 5cd6c64525 Bug 952453 - Remove mozNotification API; r=mattn r=baku
MozReview-Commit-ID: 3TMxnPRSh1j


--HG--
rename : dom/tests/mochitest/notification/desktop-notification/test_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xul
rename : dom/tests/mochitest/notification/desktop-notification/create_notification.html => dom/notification/test/mochitest/create_notification.html
rename : dom/tests/mochitest/notification/desktop-notification/test_notification_tag.html => dom/notification/test/mochitest/test_notification_tag.html
2018-01-08 14:56:22 -08:00
Jessica Jong 1133de96d2 Bug 1398981 - Turn off webcomponents pref by default when running tests. r=smaug 2018-01-05 16:17:38 +08:00
Kyle Machulis 7b2fb44f60 Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS
MozReview-Commit-ID: BeziRSoUvh2
2018-01-04 14:50:21 -08:00
Noemi Erli 652fbd6270 Merge autoland to mozilla-central r=merge a=merge 2018-01-04 11:44:30 +02:00
Ryan VanderMeulen e07d278ac1 Merge m-c to autoland. a=merge 2018-01-03 18:01:44 -05:00
Gijs Kruitbosch a8bb5924c6 Bug 1425356 - remove XUL template support, r=bz
MozReview-Commit-ID: HdBoQ15DFOu

--HG--
rename : dom/xul/templates/nsIXULSortService.idl => dom/xul/nsIXULSortService.idl
rename : dom/xul/templates/nsXULContentUtils.cpp => dom/xul/nsXULContentUtils.cpp
rename : dom/xul/templates/nsXULContentUtils.h => dom/xul/nsXULContentUtils.h
rename : dom/xul/templates/nsXULSortService.cpp => dom/xul/nsXULSortService.cpp
rename : dom/xul/templates/nsXULSortService.h => dom/xul/nsXULSortService.h
extra : rebase_source : e3f3504c529e7bd9aa52aecf34b94bb5b0ff92b4
2017-12-19 14:11:06 +00:00
Ryan VanderMeulen 460ad0274d Bug 1425993 - Make security violation events Nightly-only and update test expectations accordingly. r=smaug 2018-01-03 12:35:49 -05:00
Lars T Hansen b6e7d3a2ba Bug 1423225 - Disable javascript.options.shared_memory. r=lth, r=jgraham, a=lizzard 2017-11-08 11:44:53 +01:00
Stone Shih 60f154a756 Bug 1411467 - Keeping PointerEvent enabled in release build. r=smaug.
MozReview-Commit-ID: 9eD5bs2RwkC
2017-11-06 17:43:59 +08:00
Kyle Machulis 4feebf20a1 Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-10 12:40:05 -08:00
shindli 3dbeae82e5 Backed out 2 changesets (bug 1424571, bug 952453) for FATAL ERROR PROCESSING MOZBUILD FILE r=backout on a CLOSED TREE
Backed out changeset c05f6d6df510 (bug 1424571)
Backed out changeset 2e682c1841a1 (bug 952453)

--HG--
rename : dom/notification/test/mochitest/MockServices.js => dom/tests/mochitest/notification/MockServices.js
rename : dom/notification/test/mochitest/NotificationTest.js => dom/tests/mochitest/notification/NotificationTest.js
rename : dom/notification/test/mochitest/mochitest.ini => dom/tests/mochitest/notification/mochitest.ini
rename : dom/notification/test/mochitest/test_bug931307.html => dom/tests/mochitest/notification/test_bug931307.html
rename : dom/notification/test/mochitest/test_notification_basics.html => dom/tests/mochitest/notification/test_notification_basics.html
rename : dom/notification/test/mochitest/test_notification_storage.html => dom/tests/mochitest/notification/test_notification_storage.html
2017-12-10 07:46:19 +02:00
Kyle Machulis abd8d10b15 Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-09 21:25:56 -08:00
Brian Grinstead 9c9c6b777b Bug 1422465 - Remove the nsIDOMXULPopupElement interface and [implements] attribute on the "popup-base" and "panel" bindings;r=bz,surkov
MozReview-Commit-ID: EvzuohEgFSh

--HG--
extra : rebase_source : 838cd68dda56778e6815c7c75a6ca158902c8f29
2017-12-07 13:37:06 -08:00
Neil Deakin 60e7f4183f Bug 1419925, implement a promise-oriented version of waitForClipboard, promiseClipboardChange, change a selection of tests to use this instead. Simplify some other clipboard tests that were unreliable before the fix for 1394757. r=jmaher 2017-12-07 08:39:50 -05:00
Jonathan Watt 22a6ced979 Bug 1180145, part 4 - Tests for blocking of resource timing for sub-resources of no-cors resources. r=jwatt
MozReview-Commit-ID: GQRhvsME5gv
2017-11-09 13:12:45 +00:00
Bevis Tseng 755fb5d4ae Bug 1418933 - Fix failure of test_contentViewer_overrideDPPX.html relying on non-comformant Promise handling. r=jryans 2017-12-05 14:52:05 +08:00