Closed Bug 1829539 Opened 2 years ago Closed 2 years ago

Perma /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html | Relative URL-like from same-origin importScripts() when Gecko 114 merges to Beta on 2023-05-08

Categories

(Testing :: web-platform-tests, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox112 unaffected, firefox113 fixed, firefox114+ verified)

VERIFIED FIXED
114 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- fixed
firefox114 + verified

People

(Reporter: noemi_erli, Assigned: aiunusov)

Details

Attachments

(2 files)

[Tracking Requested - why for this release]:

Central-as-beta simulation:
How to run these simulations:
Failure log

[task 2023-04-23T11:38:45.445Z] 11:38:45     INFO - TEST-START | /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html
[task 2023-04-23T11:38:45.450Z] 11:38:45     INFO - Closing window 34359c6c-b7e9-48dc-b5cc-a33b147dc0b0
[task 2023-04-23T11:38:45.629Z] 11:38:45     INFO - PID 8786 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpnqy48jyr/runtests_leaks_1185_tab_pid25587.log
[task 2023-04-23T11:38:45.630Z] 11:38:45     INFO - PID 8786 | [25587, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-04-23T11:38:45.636Z] 11:38:45     INFO - PID 8786 | [Child 25587, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-04-23T11:38:45.661Z] 11:38:45     INFO - PID 8786 | [Child 25587, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:655
[task 2023-04-23T11:38:45.668Z] 11:38:45     INFO - PID 8786 | [Child 25587, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-04-23T11:38:45.670Z] 11:38:45     INFO - PID 8786 | [Child 25587, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-04-23T11:38:45.694Z] 11:38:45     INFO - PID 8786 | [Child 25587, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-04-23T11:38:45.767Z] 11:38:45     INFO - PID 8786 | [Child 25477, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-04-23T11:38:46.201Z] 11:38:46     INFO - 
[task 2023-04-23T11:38:46.201Z] 11:38:46     INFO - TEST-UNEXPECTED-FAIL | /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html | Relative URL-like from same-origin importScripts() - promise_test: Unhandled rejection with value: object "Error: Dynamic module import is disabled or not supported in this context"
[task 2023-04-23T11:38:46.201Z] 11:38:46     INFO - 
[task 2023-04-23T11:38:46.201Z] 11:38:46     INFO - TEST-UNEXPECTED-FAIL | /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html | Absolute URL-like from same-origin importScripts() - promise_test: Unhandled rejection with value: object "Error: Dynamic module import is disabled or not supported in this context"
[task 2023-04-23T11:38:46.203Z] 11:38:46     INFO - 

Artur Iunusov this seems to be a regression from Bug 1646034, could you please take a look?
Thanks,

Flags: needinfo?(aiunusov)

At the first glance, I see that the dynamic import is disabled for that test (for some reason).
"Error: Dynamic module import is disabled or not supported in this context"

Previously this test was marked as expected to fail

Looking

Flags: needinfo?(aiunusov)
Assignee: nobody → aiunusov
Status: NEW → ASSIGNED

Patch seems to be working as seen in today's central as beta sim

Comment on attachment 9330015 [details]
Bug 1829539 - base-url-worker-importScripts.html expected to PASS on Nightly only (due to disabled dynamic import on release and beta), r=smaug

Beta/Release Uplift Approval Request

  • User impact if declined: WPT test will be broken. If you include 1646034 and reject this uplift
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1646034
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9330015 - Flags: approval-mozilla-beta?
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7b622a1d2bc base-url-worker-importScripts.html expected to PASS on Nightly only (due to disabled dynamic import on release and beta), r=smaug

We have imported the patch and now it`s failing with "TEST-UNEXPECTED-PASS | /html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html | Relative URL-like from cross-origin importScripts() - expected FAIL"
Fails are on Linux, Windows and OSX.

Flags: needinfo?(aiunusov)

That was my fault, sorry.

Flags: needinfo?(aiunusov) → needinfo?(ryanvm)

Comment on attachment 9330015 [details]
Bug 1829539 - base-url-worker-importScripts.html expected to PASS on Nightly only (due to disabled dynamic import on release and beta), r=smaug

test-only changes don't need approval for uplift

Flags: needinfo?(ryanvm)
Attachment #9330015 - Flags: approval-mozilla-beta?

Sorry, I totally misread comment 9. We're seeing those same failures on Beta now too with this patch uplifted.

Flags: needinfo?(aiunusov)

the latest patch seems to be working in today's beta sim

Flags: needinfo?(aiunusov)
Keywords: leave-open
Pushed by rvandermeulen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/281ad380a92d Remove unnecessary subtest annotation for release or beta because it's passing. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: