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

14750 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 15bd03edef Bug 1337523 - Simplify Android test configuration; r=dustin
Collapse androidarm_4_3-tc.py into androidarm_4_3.py.
Replace androidx86.py with androidx86-tc.py.
Remove androidarm.py and androidarm_dev.py - they have been obsolete for some time now.
Update the taskcluster configuration accordingly.
2017-02-13 16:53:22 -07:00
Geoff Brown 47f39a4e06 Bug 1332084 - Allow alternate apk in android_emulator_unittest.py; r=jmaher 2017-02-13 16:53:21 -07:00
Boris Zbarsky e1822e6a63 Bug 1306170 part 6. Implement WindowOrWorkerGlobalScope.origin. r=bkelly 2017-02-13 16:06:47 -05:00
Boris Zbarsky 19cf0c0f4e Bug 1306170 part 5. Run the HTML interfaces web platform test in workers as well as windows. r=bkelly 2017-02-13 16:06:46 -05:00
Boris Zbarsky 83b7e32013 Bug 1306170 part 4. Fix idlharness to properly handle FrozenArray return types. r=bkelly 2017-02-13 16:06:46 -05:00
Boris Zbarsky 0de977d491 Bug 1306170 part 3. Fix idlharness to properly handle single-element exposure sets on interfaces and exposure sets on members. r=bkelly
This is fixing two problems.

1) Consider this interface:

  [Exposed=(Window,Worker)]
  interface Foo {
    [Exposed=(Window)]
    void someMethod();
  };

Without these changes, idlharness will check for a someMethod method on
Foo.prototype in all globals where the Foo interface is exposed, and will fail
in a worker, because someMethod is not exposed there.  That's what the blocks
ending with "continue" in IdlInterface.prototype.test_members and
IdlInterface.prototype.test_interface_of fix.  This needs the "default_set"
argument to exposure set computation, because if there isn't any exposure set
specified on a member, it gets the exposure set of its interface.


2)  Consider this interface:

  [Exposed=SharedWorker]
  interface Foo {
  };

The code without these changes does:

        var globals = exposed.length === 1
                    ? exposed[0].rhs.value
                    : ["Window"];

which sets "globals" to the _string_ "SharedWorker".  Then it does
member.exposed = exposed_in(globals).  expose_in tries to figure out which sort
of global we're running in.  The interesting part is _just_ visible in the
context in the diff.  Say we're running in a dedicated worker.  Then this test:

     if ('DedicatedWorkerGlobalScope' in self &&
         self instanceof DedicatedWorkerGlobalScope) {

tests true and this return value:

         return globals.indexOf("Worker") >= 0 ||
                globals.indexOf("DedicatedWorker") >= 0;

returns true, because if you recall the variable globals is the _string_
"SharedWorker", so globals.indexOf("Worker") >= 0.  Yay Python typing.

The fix for this is to make sure that globals ends up as the _list_
["SharedWorker"] in this case, so our indexOf checks in exposed_in do the right
things.  That's the:

    if (typeof set == "string") {
        set = [ set ];

bit.
2017-02-13 16:06:46 -05:00
Boris Zbarsky 198ac838ce Bug 1306170 part 2. Split the IDLs out of the HTML interfaces web platform test so we can run it in both windows and workers. r=bkelly
--HG--
rename : testing/web-platform/tests/html/dom/interfaces.html => testing/web-platform/tests/html/dom/resources/interfaces.idl
rename : testing/web-platform/tests/html/dom/interfaces.html => testing/web-platform/tests/html/dom/resources/untested-interfaces.idl
2017-02-13 16:06:46 -05:00
Boris Zbarsky 8bf1ca33e7 Bug 1306170 part 1. Change the HTML general interfaces web platform test to have WindowOrWorkerGlobalScope. r=bkelly 2017-02-13 16:06:45 -05:00
Sebastian Hengst fe52a15c05 Backed out changeset 7508565a3a0d (bug 1337543) 2017-02-13 18:59:39 +01:00
Ben Kelly e0636b2dca Bug 1337543 P7 Update WPT test expectations now that CSP is applied in service workers. r=baku 2017-02-13 12:15:59 -05:00
Carsten "Tomcat" Book 7e56e910a7 Backed out changeset 50321440abee (bug 1332084) for android mass test bustage on a CLOSED TREE 2017-02-13 15:51:30 +01:00
Geoff Brown 2193f220a1 Bug 1332084 - Allow alternate apk in android_emulator_unittest.py; r=jmaher 2017-02-13 07:15:05 -07:00
Phil Ringnalda 215ca1024e Merge m-i to m-c, a=merge 2017-02-11 17:42:19 -08:00
Scott Wu 961755fe7e Bug 1304306 - (Part 2) Add mochitest-browser-chrome test for Form Autofill preferences. r=MattN
MozReview-Commit-ID: 5aGNp18rL1g

--HG--
extra : rebase_source : a9d477fcd3cc1b807d53d950283592c11d2eacf8
2017-02-11 20:35:08 +08:00
Chris Peterson f0bfc53206 Bug 1336776 - Log more useful error messages if MOZ_NODE_PATH or MOZHTTP2_PORT environment variables are not set correctly. r=nwgh
MozReview-Commit-ID: Fevu9smKdu3

--HG--
extra : rebase_source : d91e9c7aa1d41bb1dd2ff5d08b1e1d074a1b910b
2017-02-04 16:21:58 -08:00
Brian Birtles 492acb1b5c Bug 1338404 - Fix keyframe handling for single-valued lists r=hiro
MozReview-Commit-ID: 5MNSDm3Qr8b

--HG--
extra : rebase_source : 97f89e50d0e28fae206c29e6dee575493289e2eb
2017-02-10 15:21:15 +09:00
Gregory Szorc 1629445d45 Bug 1337679 - stylo: Disable currently crashing xpcshell tests; r=ted
MozReview-Commit-ID: K99exhH1S8j

--HG--
extra : amend_source : 3a0cbe18446e45f51e5e393c70b06a2a71385a37
2017-02-10 17:59:43 -08:00
Wes Kocher 6a2b9f5e43 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4z9MXOzghI7
2017-02-10 15:40:01 -08:00
Wes Kocher 4062cb56a0 Merge inbound to central, a=merge
MozReview-Commit-ID: FNYBhhHr4dg

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
2017-02-10 15:23:33 -08:00
J. Ryan Stinnett 6213fe3144 Bug 1338708 - Update DAMP signed add-on. r=jryans
MozReview-Commit-ID: 7bQzM7m2HqW

--HG--
extra : rebase_source : cd1c34d3fbdcbe73d0df3cfdab5d719fcbf69f15
2017-02-10 17:02:35 -06:00
Valentin Gosu 5efa650e31 Bug 918735 - Remove unneeded expected fail in open-url-bogus.htm.ini. r=jdm
This does not appear to be tested in this test.

MozReview-Commit-ID: JCTK6BTiJSg

--HG--
extra : rebase_source : 684c9bf0352f68a06e7a3be54800f101f8f25e11
2017-02-09 02:36:39 +01:00
Shu-yu Guo e5162e5945 Bug 977849 - Increase number of chunks for jsreftest to account for test262. (r=dustin)
--HG--
extra : rebase_source : 90e9f90401231dab6c4e3f3215a072e4c40e5fd5
2017-02-09 15:25:23 -08:00
Sebastian Hengst a4f8405116 Backed out changeset 9b06a1b666e8 (bug 1304306) 2017-02-10 19:04:15 +01:00
Sebastian Hengst 512e79b796 Backed out changeset 9f402afa3864 (bug 1330310) on wcosta's request. r=backout on a CLOSED TREE 2017-02-10 19:03:31 +01:00
Wander Lairson Costa 18cd648928 Bug 1330310: Switch macosx tests to buildbot-bridge. r=catlee,dustin
We use buildbot-bridge to schedule macosx tests in buildbot, and disable
scheduling on buildbot. Also, schedule a subset of unittests in
taskcluster-worker Tier 3 machines.

MozReview-Commit-ID: 38I33BlUvmt

--HG--
extra : rebase_source : 36347b6fb976f8ec0a90e239ec05ebaedbdf2253
2017-02-10 06:00:28 -02:00
James Graham f32386dd10 Bug 1338180 - Use hg SHA1 to identify wpt sync point, r=Ms2ger
MozReview-Commit-ID: BEyaIyJqtZ4

--HG--
extra : rebase_source : 72a055cfcad398a4b4ad4c09dcfce6337f205111
2017-01-31 19:05:14 -08:00
Wes Kocher 30d9ef4d29 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Wes Kocher d3307f19d5 Merge inbound to central, a=merge
MozReview-Commit-ID: 9TTIrjfNKZm

--HG--
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html
2017-02-09 17:01:39 -08:00
Wes Kocher e27ab18a24 Merge autoland to central, a=merge
MozReview-Commit-ID: Cu9iXbDAS7t
2017-02-09 16:36:11 -08:00
Carsten "Tomcat" Book ffe70d35b2 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Carsten "Tomcat" Book 8d609a0382 Backed out changeset 116291cf00b5 (bug 1332956) for causing merge conflicts with mozilla-central
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html => dom/base/test/test_bug1263696.html
extra : rebase_source : febe534a5dc591efb6ac3fdd1fc7a0bb5e082b4f
2017-02-09 11:33:37 +01:00
Carsten "Tomcat" Book 09c7ea3a23 Backed out changeset 9cb85309542e (bug 1332956)
--HG--
extra : rebase_source : 30e02ae40a5eba7713ed8aaeee8e3b593335c728
2017-02-09 11:33:16 +01:00
Carsten "Tomcat" Book ad42fa5bcb Backed out changeset bdea29a8b0f3 (bug 1332956)
--HG--
extra : rebase_source : 6f70d61486f1d583ab0632476b552ef002ad1b89
2017-02-09 11:33:14 +01:00
Ms2ger ab55eb3915 Bug 1338068 - Correct the metadata handling for .any.js tests in workers; r=jgraham
The previous code would try to read a virtual file from the file system, which
would result in an exception in the handler and a 500 Internal Server Error
sent to the client.

This change is part of the code that landed upstream in
<https://github.com/w3c/wpt-tools/pull/156>.
2017-02-09 09:54:53 +01:00
Jessica Jong d310f04aae Bug 1310080 - Implement the step attribute for <input type=datetime-local>. r=smaug
--HG--
extra : rebase_source : 5805842bb84b54a08015e52395b05eea47bd47cf
2017-02-07 22:03:00 +08:00
Wes Kocher 33636673cb Merge m-c to inbound, a=merge
MozReview-Commit-ID: 42kYU6Mip4
2017-02-08 16:21:19 -08:00
Wes Kocher 6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Andreas Farre ec62045510 Bug 1337814 - Add test for cancelling currently executing rIC callback. r=smaug
MozReview-Commit-ID: ITxqTktjtm0
2017-02-08 20:07:34 +01:00
Boris Zbarsky 3db8f8c6f6 Bug 1328894 part 3. Throw SyntaxError from Location::SetProtocol on URI parse failures. r=bkelly 2017-02-08 18:19:02 -05:00
Boris Zbarsky 329288dab5 Bug 1328894 part 2. Strip ':' and anything following it from the string passed to the location.protocol setter. r=bkelly 2017-02-08 18:19:02 -05:00
Boris Zbarsky 95bcab0af6 Bug 1328894 part 1. Don't navigate when location.protocol is set to anything other than http or https. r=bkelly 2017-02-08 18:19:01 -05:00
Boris Zbarsky e674c80494 Bug 1332956 part 3. Implement the same behavior for <object>-inside-<object> and <object>-inside-mediaelement as we do for <embed> already. r=qdot
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-ignored-in-media-element.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html
2017-02-08 18:19:01 -05:00
Boris Zbarsky 9153a8e3de Bug 1332956 part 2. Refactor embed-ignored-in-media-element to make it simple to test the same thing with <object>. r=qdot 2017-02-08 18:19:00 -05:00
Boris Zbarsky 6f6a2a9687 Bug 1332956 part 1. Move our existing mochitest for embed-inside-object over to web-platform-tests. r=qdot
--HG--
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html
2017-02-08 18:19:00 -05:00
Ben Kelly 5d98b481b4 Bug 1338173 Remove the service-worker version of get-host-info.sub.js. r=jgraham 2017-02-09 12:35:24 -05:00
Boris Zbarsky 435d7b0fa1 Bug 1338044. Remove no-longer-relevant failure messages for worker interfaces from a test that doesn't run in a worker. r=jgraham 2017-02-09 10:50:30 -05:00
Boris Zbarsky 44299d0343 Bug 1332956 part 3. Implement the same behavior for <object>-inside-<object> and <object>-inside-mediaelement as we do for <embed> already. r=qdot
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-ignored-in-media-element.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-ignored-in-media-element.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html
2017-02-08 18:19:01 -05:00
Boris Zbarsky c753fbd0a7 Bug 1332956 part 2. Refactor embed-ignored-in-media-element to make it simple to test the same thing with <object>. r=qdot 2017-02-08 18:19:00 -05:00
Boris Zbarsky e1f088d232 Bug 1332956 part 1. Move our existing mochitest for embed-inside-object over to web-platform-tests. r=qdot
--HG--
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html
2017-02-08 18:19:00 -05:00
Joel Maher c24fdf40e4 Bug 1331049 - DeadlockDetector death test fails on osx tc build, extend timeout to 30 minutes. r=ted
MozReview-Commit-ID: 9jnrRzjGmnf
2017-02-09 08:27:19 -05:00